Note: This repository contains the core code of the Macropay-Solutions PHP Kernel. If you want to build an application using macropay-solutions PHP Framework, visit the main PHP-Framework template repository.
Macropay-Solutions PHP Kernel
Documentation for the framework can be found in https://macropay-solutions.github.io/php-framework-docs for PHP-Framework template
We plan to not change the code that often and allow you to build packages that use the DI container to extend functionality and also allow retroactive bug fixing.
To maintain a stable core with no new overhead that does not need to be updated yearly, we plan to only update in the future for the following reasons:
- PHP version,
- Symfony components LTS versions,
- Possible missed classes that would need to be resolved instead of instantiated directly.
- Vulnerabilities / Bugs
Current version is using Symfony components 7.4 (LTS) and supports PHP 8.2 to 8.4 which are supported until the end of 2029.
We remain open for suggestions in the discussions area: https://github.com/macropay-solutions/php-kernel/discussions
Note:
Classes that use the Macroable trait are resolved from DI container instead of being instantiated with new.
The (faster) Container is accepting also list when resolving the classes with parameters on construct.
PHP-Framework template 10.50.0 adds config:cache and route:cache features without changes in the framework.
PHP Kernel 10.50.0 fix eager load security/data leak with low probability breaking change: Relation new property, __construct default null param resourceModel and Relation::noConstraints new param relationName
PHP Kernel 10.50.10 will validate also empty strings when present and not required, with or without sometimes.
PHP Kernel 10.51.2 adds an unlikely/low probability breaking change to Eloquent\Builder::__call return.
Please review our security policy on how to report security vulnerabilities.
Macropay-Solutions PHP Kernel is open-sourced software licensed under the MIT license.