use WisdomDiala\Countrypkg\Models\Country; use WisdomDiala\Countrypkg\Models\State Add these two to your controller, Please subscribe to our channel if you haven't subscribed, thanks. Hope this helps out.
You can also check out the github repo for more info on how to install the package github.com/wisdom-diala/countrypkg-laravel You can give us your star rating. Thanks
At this moment, we don't have flags for countries, but might be implemented in subsequent updates. Please subscribe to our channel and give the github repository a star. Stay tune for the next update.
Hello, when i'm installing the package by using this command : composer require wisdom-diala/countrypkg-laravel it returns this message : Using version ^1.0 for wisdom-diala/countrypkg-laravel ./composer.json has been updated Running composer update wisdom-diala/countrypkg-laravel Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package laravelista/syndra is abandoned, you should avoid using it. No replacement was suggested. Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead. Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested. Generating optimized autoload files Carbon 1 is deprecated, see how to migrate to Carbon 2. carbon.nesbot.com/docs/#api-carbon-2 You can run ".\vendor\bin\upgrade-carbon" to get help in updating carbon and other frameworks and libraries that depend on it. 22 packages you are using are looking for funding. Use the `composer fund` command to find out more! > Illuminate\Foundation\ComposerScripts::postUpdate > php artisan optimize Generating optimized class loader The compiled services file has been removed. can you hyelp please ? thanks in advance.
how to change the name of the country when choosing a language, for example en fr it
great, thankyou sir
You're welcome
thant you prof
This is awesome, thankyou Wisdom, just what I was after. Liked and subscribed.
You're welcome
It should be great to have some more fields like ISO alpha 2 code, currencies and its code. What you say?
@Balduino Fernando, thanks for your humble suggestions... I will work on the package and see how it can be integrated.
It will be more appreciated if you subscribe to our channel for more updates and tutorial videos on laravel. Thanks
please , how to import the State and Country Models ?
use WisdomDiala\Countrypkg\Models\Country;
use WisdomDiala\Countrypkg\Models\State
Add these two to your controller,
Please subscribe to our channel if you haven't subscribed, thanks. Hope this helps out.
You can also check out the github repo for more info on how to install the package github.com/wisdom-diala/countrypkg-laravel
You can give us your star rating. Thanks
Please make a video on shipping api integration in laravel any project such as ecommerce.
Thanks for your feedback, I will try and come up with a tutorial that will put through on that... You can subscribe to my channel to get new updates.
Great video and great package. I will use it.
Thanks, you can also help us by subscribing to our channel if you haven't subscribed yet.
@@wisdomdiala It's done ;-)
all over the world Countries and States and City
how to retrieve city according to state
You can only retrieve state according to country
please how to get flag with country name??
At this moment, we don't have flags for countries, but might be implemented in subsequent updates. Please subscribe to our channel and give the github repository a star. Stay tune for the next update.
Great video, thanks for help
You're welcome, you can subscribe to our channel for more of this.
Hello,
when i'm installing the package by using this command : composer require wisdom-diala/countrypkg-laravel
it returns this message :
Using version ^1.0 for wisdom-diala/countrypkg-laravel
./composer.json has been updated
Running composer update wisdom-diala/countrypkg-laravel
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package laravelista/syndra is abandoned, you should avoid using it. No replacement was suggested.
Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
carbon.nesbot.com/docs/#api-carbon-2
You can run ".\vendor\bin\upgrade-carbon" to get help in updating carbon and other frameworks and libraries that depend on it.
22 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
can you hyelp please ? thanks in advance.
The package has been installed successfully, go through the documentation on github and start using it
With this package can i get postal code ?thanks
Sorry, that was not included in the package.
PERFECT