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

Laravel 8 change the directory name for seeders from seeds to seeders

Launching this "php artisan countries:migration" in a terminal window I get following: Your configuration files are not serializable. no closures in my config files

Since Laravel8, seeders have been moved to `database/seeders` See here: https://laravel.com/docs/8.x/seeding However currently the migration creation file tries to create the seeder at: `$seeder_file = $this->laravel->path."/../database/seeds/CountriesSeeder.php";` So this is failing...

Getting this error: ``` Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1 near "MODIFY": syntax error (SQL: ALTER TABLE countries MODIFY country_code CHAR(3) NOT NULL DEFAULT '') ``` Since I just installed it...

This will cause error when we use ```php $factory->define(\Webpatser\Countries\Countries::class, function (Faker $faker) { return [ 'id' => 458, 'capital' => 'Kuala Lumpur (MY1)', 'citizenship' => 'Malaysian', 'country_code' => 458, 'currency'...

I found that UK is listed as country and the countries like England and Scotland are not present in the json. Is there a reason to? England is a country.

LogicException : Unable to prepare route [api/user] for serialization. Uses Closure. at C:\xampp\htdocs\Jni\vendor\laravel\framework\src\Illuminate\Routing\Route.php:917 913| */ 914| public function prepareForSerialization() 915| { 916| if ($this->action['uses'] instanceof Closure) { > 917| throw...

I'm trying to run my tests using a SQLite database but it fails when it tries to run the `CharifyCountriesTable` migration with this error: `Doctrine\DBAL\Driver\PDOException: SQLSTATE[HY000]: General error: 1 near...

Laravel Version : ``` 6.3.0``` Database Seeder.php : ``` //Seed the countries $this->call(CountriesSeeder::class); $this->command->info('Seeded the countries!'); ``` hey guys When I run ``` php artisan migrate --seeder``` its says :...

I am trying to install the package and have followed the installation steps one by one and got the error "Call to undefined method Webpatser\Countries\CountriesFacade::getList()" when trying to seed the...