File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ composer require php-monsters/laravel-worldwide
6969## Usage
7070Now run the following command to install.
7171``` bash
72- php artisan world :install
72+ php artisan worldwide :install
7373```
7474
7575Add seeder File in ` database\seeders\DatabaseSeeder.php ` add this line to use ` php artisan db:seed ` command.
Original file line number Diff line number Diff line change 77use PhpMonsters \Worldwide \Models \City ;
88use PhpMonsters \Worldwide \Models \Country ;
99use PhpMonsters \Worldwide \Models \State ;
10- use PhpMonsters \Worldwide \World ;
10+ use PhpMonsters \Worldwide \Worldwide ;
1111
1212class BaseWorldSeeder extends Seeder
1313{
1414 public function __construct (
15- protected World $ serves
15+ protected Worldwide $ serves
1616 ) {}
1717
1818 /**
Original file line number Diff line number Diff line change @@ -23,10 +23,5 @@ protected function getPackageProviders($app): array
2323 public function getEnvironmentSetUp ($ app ): void
2424 {
2525 config ()->set ('database.default ' , 'testing ' );
26-
27- /*
28- $migration = include __DIR__.'/../database/migrations/create_world_table.php.stub';
29- $migration->up();
30- */
3126 }
3227}
You can’t perform that action at this time.
0 commit comments