-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with Laravel 5.1 (with fix) #30
Comments
how To fix it |
how To fix it ? please help me |
I don't have sample code.. What I did was create my own service provider class by extending the original one. The class overrides the boot() method so that it is empty. Then I've modified the /config/app.php to use my classes instead of the original ones. Does that makes sense? |
For Laravel 5 users, using following steps could fix it: step 1comment out $this->package('nwidart/db-exporter'); in both files:
after edit:
step 2edit config/app.php, add
to 'aliases' section, and add
to providers section finishCode complete. Now execute
and you will get laravelTableSeeder.php and 20xx_xx_xx_xxxxx_create_laravel_database.php files in your project root directory. |
I could not use it directly in laravel 5.1 because of:
public function boot()
{
$this->package('nwidart/db-exporter');
}
To fix it, i overriden these classes in my app:
DbExportHandlerServiceProvider
DbMigrationsServiceProvider
to have the boot() method empty
(no call to ->package which does not exists)
The text was updated successfully, but these errors were encountered: