laravel-countries icon indicating copy to clipboard operation
laravel-countries copied to clipboard

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

Results 58 laravel-countries issues
Sort by recently updated
recently updated
newest added

Running the generated seeder as is, ended with a PHP Fatal error: Class 'Countries' not found, so to make it work I had to change this: $countries = Countries::getList(); into:...

The path to the CountriesSeeders in webpatser/laravel-countries/src/MigrationCommand on line 119 is obsolete. Please change `$seeder_file = $this->laravel->path."/../database/seeds/CountriesSeeder.php" `to `$seeder_file = $this->laravel->path."/../database/seeders/CountriesSeeder.php"`

In the CountriesSeeder.php file, We have the countries list called statically on the Countries model. This caused a failure for me when the seeder laraval command was run. I changed...

https://github.com/webpatser/laravel-countries/pull/138

Although I don't think this is a wise thing to do, it is official now.

As per https://www.techonthenet.com/sqlite/tables/alter_table.php#:~:text=You%20can%20not%20use%20the,data%20into%20the%20new%20table. SQLite Databases lack the support of using statements like ALTER TABLE therefore it is not possible to run the ``{date}_charify_countries_table` migrations on these setups. Who even uses...

Would you consider adding Northern Ireland to the list of available countries

I found an issue with the countries:migration laravel command excecution. I have fixed it chanching the seeds forder for seeders folder name. In the /vendor/webpatser/laravel-countries/src/commands/MigrationCommand.php $seeder_file = $this->laravel->path."/../database/seeders/CountriesSeeder.php"; I think...