Download the PHP package yceruto/micro-symfony without Composer
On this page you can find all versions of the php package yceruto/micro-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package micro-symfony
Backported Symfony features
Implement new Symfony features in older versions!
Installation
Prepending Extension Config with $container->import()
Since Symfony 6.1, the AbstractBundle class helps you to create a bundle quickly, and one of useful feature is
prepending config for other bundles or extensions:
[!NOTE] The
$container->import()method support inprependExtensionwas implemented in Symfony 7.1, so you can remove this package from your dependencies after upgrading accordingly.
MicroKernelTrait
This class is an implementation of the base Kernel + MicroKernelTrait that allows you to create a
single "one-file" application for your cloud worker, microservice, or any other small application.
You can use the same index.php as console application to perform the common cache clear operations or any other
command you need to run.
[!NOTE] The
MicroKernelTraitoptional capabilities were implemented in Symfony 7.2, so you can remove this package from your dependencies after upgrading accordingly.
Server-Sent Event (SSE) Improvements
This package provides utilities to enhance working with server-sent events (SSE) in Symfony applications.
- EventStreamResponse: A response object designed specifically for streaming server events.
- ServerEvent: Used to construct and emit individual server events in the response.
Example Usage:
[!NOTE] The
EvenStreamResponseandServerEventare natively supported since Symfony 7.3, so you can remove this package from your dependencies after upgrading accordingly.
Upgrade Notes
All classes included in this package are registered under the MicroSymfony namespace,
however, they follow the same organization that Symfony. Thus, to upgrade just remove
the Micro prefix from all imported classes and everything should keep working as before.
License
This software is published under the MIT License
All versions of micro-symfony with dependencies
symfony/http-kernel Version ^7.1
symfony/config Version ^7.1
symfony/dependency-injection Version ^7.1