Download the PHP package timobakx/api-events-bundle without Composer
On this page you can find all versions of the php package timobakx/api-events-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download timobakx/api-events-bundle
More information about timobakx/api-events-bundle
Files in timobakx/api-events-bundle
Package api-events-bundle
Short Description Symfony bundle to add some easier to use event listeners for API Platform
License MIT
Informations about the package api-events-bundle
ApiEventsBundle
About
This Symfony bundle provides autoconfigured interfaces to more easily autowire lazy event listeners for API Platform.
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Usage
Create an event listener and implement one of the interfaces from the
TimoBakx\ApiEventsBundle\ApiPlatformListeners
namespace:
The event listener will be automatically configured for the correct tag, including the correct event and priority.
All versions of api-events-bundle with dependencies
api-platform/core Version ^3.0
symfony/dependency-injection Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0