Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 591 forks source link

laravel5.8 There are more Warning #187

Open anyAdmin opened 5 years ago

anyAdmin commented 5 years ago

Warning: Ambiguous class resolution, "Way\Generators\Commands\ControllerGeneratorCommand" was found in both "/vendor/way/generators/src/Way/Generators/Commands/ControllerGeneratorCommand.php" and "/vendor/xethron/laravel-4-generators/src/Way/Generators/Commands/ControllerGeneratorCommand.php", the first will be used.

In GeneratorsServiceProvider.php line 58:
Call to undefined method Illuminate\Foundation\Application::share()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

jasperf commented 4 years ago

share() was removed in 5.4 https://laravel.com/docs/5.4/upgrade . See https://github.com/laracasts/Laravel-5-Generators-Extended which should work with Laravel 5.8 and even 6.0