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
69
69
## Usage
70
70
Now run the following command to install.
71
71
``` bash
72
- php artisan world :install
72
+ php artisan worldwide :install
73
73
```
74
74
75
75
Add 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 7
7
use PhpMonsters \Worldwide \Models \City ;
8
8
use PhpMonsters \Worldwide \Models \Country ;
9
9
use PhpMonsters \Worldwide \Models \State ;
10
- use PhpMonsters \Worldwide \World ;
10
+ use PhpMonsters \Worldwide \Worldwide ;
11
11
12
12
class BaseWorldSeeder extends Seeder
13
13
{
14
14
public function __construct (
15
- protected World $ serves
15
+ protected Worldwide $ serves
16
16
) {}
17
17
18
18
/**
Original file line number Diff line number Diff line change @@ -23,10 +23,5 @@ protected function getPackageProviders($app): array
23
23
public function getEnvironmentSetUp ($ app ): void
24
24
{
25
25
config ()->set ('database.default ' , 'testing ' );
26
-
27
- /*
28
- $migration = include __DIR__.'/../database/migrations/create_world_table.php.stub';
29
- $migration->up();
30
- */
31
26
}
32
27
}
You can’t perform that action at this time.
0 commit comments