Download the PHP package zinvapel/symfony-basis-bundle without Composer
On this page you can find all versions of the php package zinvapel/symfony-basis-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zinvapel/symfony-basis-bundle
More information about zinvapel/symfony-basis-bundle
Files in zinvapel/symfony-basis-bundle
Download zinvapel/symfony-basis-bundle
More information about zinvapel/symfony-basis-bundle
Files in zinvapel/symfony-basis-bundle
Vendor zinvapel
Package symfony-basis-bundle
Short Description Common classes for symfony service
License
Package symfony-basis-bundle
Short Description Common classes for symfony service
License
Please rate this library. Is it a good library?
Informations about the package symfony-basis-bundle
Symfony Basis Bundle
Contains common things for creation of Symfony application. Basically, can be used for every PHP application.
Versions
Version X.Y.Z imply:
- X - const 1 before concepts does not changed
- Y - every update contains new features
- Z - bug fixes
BasisBundle for Symfony users
Plug BasisBundle into your bundles.php
.
Explain configuration:
This config will generate basis.routes.get_user.controller
service, instance of Zinvapel\Basis\BasisBundle\Http\Flow\Controller
.
context.factory_type
defines factory, instance ofZinvapel\Basis\BasisBundle\Http\Flow\Context\Factory\ContextFactoryInterface
. This factory respond for transformation Request intoZinvapel\Basis\BasisBundle\Core\Dto\ServiceDtoInterface
. Can be:denormalize
- extracts data from Request, validates it and assembleServiceDtoInterface
custom
- indicates to take service name from custom parameter.
context.custom
- user defined factory.context.data_extractor
define how to extract data from request. Can be:route
- from route parametersempty
- returns empty arrayjson
- gets json from body and converts into associative arraypost_json
- combinesroute
andjson
context.dto_class
defines class, instance ofZinvapel\Basis\BasisBundle\Core\Dto\ServiceDtoInterface
, into which Request will be converted.context.constraints_provider
defines callable, which returns Symfony constraints array for Request validation.service
defines instance ofZinvapel\Basis\BasisBundle\Core\ServiceInterface
. Presents route business logic, accepts the aboveServiceDtoInterface
, returnsZinvapel\Basis\BasisBundle\Core\Dto\StatefulDtoInteface
.responses.Some\Dto\Name
defines how convertSome\Dto\Name
, instance ofZinvapel\Basis\BasisBundle\Core\Dto\StatefulDtoInteface
, to Symfony Response.responses.X.factory_type
defines response factory, can be:no_content
json
custom
responses.X.status_code
defines status code.
Use env ZINVAPEL_BASIS_HTTP_FLOW_DEBUG
for force display all HTTP exceptions
OpenApiAssertionBundle (deep beta)
Generate assertions and classes from Swagger documentation. Provide one command:
Result examples:
-
Class
- Assertions
All versions of symfony-basis-bundle with dependencies
PHP Build Version
Package Version
The package zinvapel/symfony-basis-bundle contains the following files
Loading the files please wait ....