ausi / slug-generator

Slug Generator Library for PHP, based on Unicode’s CLDR data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requirements incompatible with your PHP version,

Edan0615 opened this issue · comments

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.

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

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~~~

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
`