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

requirements incompatible with your PHP version, #25

Open
Edan0615 opened this issue Feb 22, 2022 · 4 comments
Open

requirements incompatible with your PHP version, #25

Edan0615 opened this issue Feb 22, 2022 · 4 comments

Comments

@Edan0615
Copy link

Package ausi/slug-generator has requirements incompatible with your PHP version, PHP extensions and Composer version: - ausi/slug-generator v1.1.1 requires ext-intl * but it is not present. - ausi/slug-generator v1.1.1 requires lib-icu >=4.2.1 but it is not present.
Hello, when I run composer require ausi/slug-generator it gives me this, and I have been googleing whole day still can't find a way around it, I was wondering you could help me, kindly asking.

@ausi
Copy link
Owner

ausi commented Feb 22, 2022

The error suggests, that in your PHP environment the PHP Intl extension is not installed.

If this error happens on a webspace which is managed by a hosting provider, you should as the hosting provider to install and enable the Intl extension.

You can find more information about ext-intl on php.net: https://www.php.net/manual/en/book.intl.php

@Edan0615
Copy link
Author

Edan0615 commented Feb 22, 2022

Thank you, it's actually happened on my localhost, I tried to follow the doc and install it on my windows system, it gave me more error something like can't load dynamic libray~

I have an app that people would type in chinese and I'd like it to be slugged(if there's a word), I have been trying to use this for like a day~~~

@ausi
Copy link
Owner

ausi commented Feb 22, 2022

Did you take a look at the following article?
https://stackoverflow.com/questions/33869521/how-can-i-enable-php-extension-intl

@Edan0615
Copy link
Author

Edan0615 commented Feb 22, 2022

Did you take a look at the following article? https://stackoverflow.com/questions/33869521/how-can-i-enable-php-extension-intl

Hey actually no, however, I did the same thing as they said in the doc but
`
PS D:\xampp\htdocs\royalcode> composer require ausi/slug-generator
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: D:\xampp\php\ext\intl (The specified module could not be found), D:\xampp\php\ext\php_intl.dll (The specified module could not be found)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: D:\xampp\php\ext\intl (The specified module could not be found), D:\xampp\php\ext\php_intl.dll (The specified module could not be found)) in Unknown on line 0
`

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

No branches or pull requests

2 participants