I am developing a package for an application with Laravel 4, I added some seeders into the folder seeds of folder database of my application, what is the right command line to run the seeder ?
I tried some similar commands to db:migrate to run these seeders like:
php artisan db:seed --package=Packagename/PackageDirectory
but it seems they are not working here, what is the right command line to run these seeders insdie the package from root of application?
According to the documentation, the only available option for this function is
--class
.What you can do is create a class that gets data from your package.