Xethron / migrations-generator

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

PSR-0 problem in laravel-4-generators: Class names and file locations do not match #198

Open cweiske opened 4 years ago

cweiske commented 4 years ago

(The bug is for xethron/laravel-4-generators, but that one has no bug tracker and this package here depends on it).

When using composer 1.10-dev to generate the autoloader (composer dump) there are deprecation notices shown:

Deprecation Notice: Class Way\Generators\Templates\Data\Controller located in ./vendor/xethron/laravel-4-generators/src/Way/Generators/templates/Data/Controller.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+. Deprecation Notice: Class Way\Generators\Templates\Data\Migration located in ./vendor/xethron/laravel-4-generators/src/Way/Generators/templates/Data/Migration.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v1.11+.

oscarafdev commented 4 years ago

Use https://github.com/oscarafdev/migrations-generator for Laravel 6+