Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace league/url with league/uri & league/uri-components #25

Merged

Conversation

jakejackson1
Copy link
Contributor

league/url has been abandoned since 2015-09-23 and this PR replaces it with its successor: league/uri and its components package league/uri-components.

The package change requires the minimum PHP version to be set to 7.2. PHPUnit was also updated to the last version that supports PHP7.2.

I know there was concern about requiring new extensions (#1) by making the switch, however these are not hard dependencies. If you don't use the league/uri i18n URI processing feature (ext-intl) or don't want to create a data URI from a filepath (ext-fileinfo) then there are no issues – an exception is thrown should you use one of these features and don't have the required extension.

All existing unit tests pass without any modification.

Please let me know if you require any changes to get this PR merged.

Thanks!

@jakejackson1 jakejackson1 force-pushed the replace-unsupported-dependency branch from 62f1ecf to 0ff5d8d Compare July 20, 2020 06:05
league/url has been abandoned since 2015-09-23 and this PR replaces it with its successor: league/uri and its components package.

The package change requires the minimum PHP version to be set to 7.2. PHPUnit was also updated to the last version that supports PHP7.2.

I know there was concern about requiring new extensions (spatie#1) by making the switch, however these are not hard dependencies.
If you don't use the `league/uri` i18n URI processing feature (`ext-intl`) or don't want to create a data URI from a filepath (`ext-fileinfo`) then there is no issues (an exception is thrown should you use one of these features and don't have the required extension).
@freekmurze
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants