Download the PHP package palabs/endpoint-bundle without Composer
On this page you can find all versions of the php package palabs/endpoint-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package endpoint-bundle
PaEndpointBundle
PaEndpointBundle add alternative to symfony controllers. Endpoint is a controller with only one method - execute(Request): Response
Features include:
- Simple and clean endpoint interface - only one request handler in one class
- Easy way to generate routes, e.g. $router->url(SomeEndpoint::class)
- Refactorable - no additional changes need if you move or rename endpoint
- No route names need (but if you want you can specify it in route definition)
- Supports for extending endpoints - you can define base endpoints and many childs with shared routes configuration. It's is very common task in crud controllers.
Installation
Add bundle to you composer.json:
Register bundle in Kernel:
Add route loading in app/config/routing.yml:
Usage
A simple endpoint look like
All versions of endpoint-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
symfony/filesystem Version ^5.0 || ^6.0
symfony/routing Version ^5.0 || ^6.0
symfony/config Version ^5.0 || ^6.0
symfony/http-kernel Version ^5.0 || ^6.0
symfony/http-foundation Version ^5.0 || ^6.0
symfony/dependency-injection Version ^5.0 || ^6.0
symfony/filesystem Version ^5.0 || ^6.0
symfony/routing Version ^5.0 || ^6.0
symfony/config Version ^5.0 || ^6.0
symfony/http-kernel Version ^5.0 || ^6.0
symfony/http-foundation Version ^5.0 || ^6.0
symfony/dependency-injection Version ^5.0 || ^6.0
The package palabs/endpoint-bundle contains the following files
Loading the files please wait ....