I am using the basic template and following the installation instruction given on :
yiiframework.com/extension/yii2-ip2location extension and Official website; I don’t know How I can install the extension since I don’t find the folder in which they recommending to install.
Please I need your help to know how I can install this extension. Thanks
My guess is that if the directory is not present, create it.
But, I would avoid Yii 2 extensions that does not have Composer support.
It smells bad.
If you can find an extension on Packagist/YiiGist that is installable by Composer, use it.
My personal opinion is that if the “developer” of that extension couldn’t be bothered to create a proper extension, I wonder how many other things that only been implemented half-way?
I am still confused because I don’t know wich instruction to follow; the one of official website or of Yii Framework; and in which root folder should I create these directories they require.
I need to get the client timezone; I choose it because it handles directly UTC and DST timezone; but if you have anything good to propose me; It is ok.
Thanks; installation is still prompting an error; I am trying to figure out!!!
The "yiisoft/yii2-composer" plugin requires composer-plugin-api 1.0.0, this WILL break in the future and it should be fixed ASAP (require ^1.0 for example).
I am just scared of the solution I found to solve it from this post
to solve the error "The "yiisoft/yii2-composer" plugin requires composer-plugin-api 1.0.0, this WILL break in the future and it should be fixed ASAP (require ^1.0 for example)." i do these steps: