atk4/core
Agile Core is a set of reusable PHP traits for building object-oriented frameworks. Provides containers (parent/child), hooks with priorities, automatic init, dynamic methods, factory by class string, app scope injection, and improved exceptions.
Collection of PHP Traits for designing object-oriented frameworks.
Agile Core was created for Agile Data and Agile UI, but can be used in any other framework too. You will mostly find PHP Traits here, that add functionality into your objects such as:
Additionally you a much better 'Exception' class for general-purpose exceptions.
https://atk4-core.readthedocs.io/
composer require atk4/core
Agile Core is part of Agile Toolkit - PHP UI Framework. If you like this project, you should also look into:
How can I help you explore Laravel packages today?