yajra / laravel-address

Philippines Regions, Provinces, Cities and Barangays Address Lookup API for Laravel.
MIT License
35 stars 17 forks source link

Target class does not exist. #20

Open vrme007 opened 6 months ago

vrme007 commented 6 months ago

Summary of problem or feature request

When running: php artisan db:seed Yajra\Address\Seeders\AddressSeeder it says that target class does not exist.

Code snippet of problem

System details

yajra commented 6 months ago

Fresh Laravel 11, works fine.

composer require yajra/laravel-address
php artisan migrate
php artisan db:seed Yajra\Address\Seeders\AddressSeeder

   INFO  Seeding database.  

Parsing PSA official PSGC publication (/Users/yajra/www/laravel-datatables-tailwind-experiment/vendor/yajra/laravel-address/database/seeders/publication/PSGC_Publication_Dec2020.xlsx).
Seeding 17 regions.
Seeding 87 provinces.
Seeding 1648 cities & municipalities.
Seeding 42046 barangays.
vrme007 commented 6 months ago

Oh, the error was on my part. Thank you!