tourze / easyadmin-no-final-plugin
It removes the 'final' PHP keyword from all EasyAdmin classes so you can extend those classes in your projects.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Type:composer-plugin
Requires
- php: >=8.0.2
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
README
EasyAdmin is designed to not allow class inheritance and that's why all
its classes use the final
PHP keyword. This is troublesome for those who want
to extend EasyAdmin classes to add new features.
This project is a Composer plugin that removes the final
PHP keyword from all
EasyAdmin classes, so you can extend all of them. It only modifies EasyAdmin
files located in the vendor/
directory of your project. It doesn't change any
other file in your application.
Run the following command to install this Composer plugin in your projects:
$ composer require easycorp/easyadmin-no-final-plugin
When does this plugin update EasyAdmin classes?
- Just after installing this Composer plugin;
- Just after installing or updating any EasyAdmin version.