faridlab / salt-laravel-countries
Installs: 21
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:PLpgSQL
Requires
- php: ^8.0.2
- doctrine/dbal: ^3.3
- faridlab/laravel-search-query: ^9.0
- faridlab/salt-laravel: ^10
- laravel/framework: ^10.0
- zircote/swagger-php: ^4.4
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.5.10
- spatie/laravel-ignition: ^1.0
README
General information about this package.
Installation
To install this package, please run this command below:
$ composer require faridlab/salt-laravel-countries
Using this package
Information about using this package
Publishing Configurations
To publish the config file of our package, run the following command:
$ php artisan vendor:publish --tag=countries-config
This will add a new countries.php
file in the config directory.
Publishing Migrations and Seeds
To publish the migration file, run the following command:
$ php artisan vendor:publish --tag=countries-migrations
To publish the seeder file, run the following command:
$ php artisan vendor:publish --tag=countries-seeds
Next, edit the .env file with your database credentials and run the following command to execute the migrations:
$ php artisan migrate
Run the command to seed the database with some random data:
$ php artisan db:seed --class=CountryIndonesiaSeeder
Contributing
Information about contributing to this package.