Protoqol / Prequel

Prequel for Laravel. Clear and concise database management. Unfortunately, not actively maintained due to time constraints.
https://packagist.org/packages/protoqol/prequel
MIT License
1.54k stars 96 forks source link

Deprecation Notice: Class Protoqol\Prequel\App\ControllerAction does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0 #107

Closed aleedhillon closed 3 years ago

aleedhillon commented 4 years ago

Describe the bug While installing Prequel with composer require protoqol/prequel the following notices have shown up.

Deprecation Notice: Class Protoqol\Prequel\App\ControllerAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\ControllerAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Protoqol\Prequel\App\FactoryAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\FactoryAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Protoqol\Prequel\App\MigrationAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\MigrationAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Protoqol\Prequel\App\ModelAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\ModelAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Protoqol\Prequel\App\ResourceAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\ResourceAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Protoqol\Prequel\App\SeederAction located in C:/Users/alidhillon/code/test-laravel/vendor/protoqol/prequel/src\Laravel\SeederAction.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201

To Reproduce Steps to reproduce the behavior:

  1. Go to your laravel project and composer require protoqol/prequel
  2. See Notice.

Expected behavior Clean installation.

Screenshots Annotation 2020-07-18 174919

PHP Version

Composer Version

ravdeepsingh22 commented 4 years ago

Same Issue on Laravel 8

Oxicode commented 3 years ago

anything news?

webstack9 commented 3 years ago

@aliadhillon I had the same issue, moved all files from src/Laravel folder into src/Appis fixing the problem , Laravel folder can be deleted. @Oxicode is it possible to be fixed on next release, and just one question about update record feature, I did not get it from documentation. Is it available?