It removes the 'final' PHP keyword from all EasyAdmin classes so you can extend those classes in your projects.

Installs: 6 351

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 2


v1.0.0 2022-06-19 11:55 UTC

This package is not auto-updated.

Last update: 2024-05-05 13:10:54 UTC


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.