Download the PHP package skrip42/api-skeleton without Composer
On this page you can find all versions of the php package skrip42/api-skeleton. 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 api-skeleton
api-skeleton
symfony api skeleton
Features out of the box
- authorization by token
- serializer for api with error catching
- put/patch parameters available
- correct validation of the entity without form
- logging requests
- crun-rest maker
Creating new project
create .env.local and and add environment variable definitions to it:
- API_KEY - you api authentification key
Usage
Serializer
use serialization group
use pagination
error with http status code
Entity validation (doctrineORM required)
- uncomment App\EntityListener block in services.yaml
- implement App\Entity\ValidationInterface in you Entity
- add @ORM\EntityListeners({"App\EntityListener\ValidateListener"}) annotation in you Entity
- profit!
RestCRUD maker (doctrineORM required)
- uncomment App\Maker\MakeRest block in services.yaml
- run ./bin/console make:rest command to create RestCRUD controller for you entity
All versions of api-skeleton with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.5
ext-ctype Version *
ext-iconv Version *
sensio/framework-extra-bundle Version ^6.0
symfony/console Version 5.2.*
symfony/dotenv Version 5.2.*
symfony/flex Version ^1.3.1
symfony/framework-bundle Version 5.2.*
symfony/http-client Version 5.2.*
symfony/monolog-bundle Version ^3.6
symfony/security-bundle Version 5.2.*
symfony/serializer Version 5.2.*
symfony/yaml Version 5.2.*
ext-ctype Version *
ext-iconv Version *
sensio/framework-extra-bundle Version ^6.0
symfony/console Version 5.2.*
symfony/dotenv Version 5.2.*
symfony/flex Version ^1.3.1
symfony/framework-bundle Version 5.2.*
symfony/http-client Version 5.2.*
symfony/monolog-bundle Version ^3.6
symfony/security-bundle Version 5.2.*
symfony/serializer Version 5.2.*
symfony/yaml Version 5.2.*
The package skrip42/api-skeleton contains the following files
Loading the files please wait ....