Download the PHP package mirko/t3customroutes without Composer
On this page you can find all versions of the php package mirko/t3customroutes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mirko/t3customroutes
More information about mirko/t3customroutes
Files in mirko/t3customroutes
Package t3customroutes
Short Description TYPO3 extension used to register custom api endpoints
License GPL-2.0+
Homepage https://github.com/Mirko-Solutions/t3customroutes
Informations about the package t3customroutes
TYPO3 Extension "Custom Routes"
-
Authors: Mirko Team
-
Email: [email protected]
- Website: mirko.in.ua
The "Custom Routes" extension (EXT:t3customroutes
) provide possibility to declare own api endpoints with own url
Installation
Configuration
import route enhancer by adding following line on bottom of your site config.yaml
.
If you do not want to use import you can also manually add new route enhancer of type T3apiResourceEnhancer directly in your site configuration.
Creating custom api endpoint
Next step is to register custom routes in EXT:{extkey}/Configuration/routes.yaml
Creating Routes in YAML
Matching HTTP Methods
By default, routes match any HTTP verb (GET
, POST
, PUT
, etc.) Use the methods option to restrict the verbs each
route should respond to:
Method Parameters
You may also need to configure dependency injection in your extensions
Contributing
You can contribute by making a pull request to the master branch of this repository.
All versions of t3customroutes with dependencies
typo3/cms-core Version ^11.5 || 12.*
typo3/cms-scheduler Version ^11.5 || 12.*
symfony/routing Version ^4.1 || ^5.0 || 6.*
symfony/expression-language Version ^4.1 || ^5.0 || 6.*
symfony/http-foundation Version ^4.2.9 || ^5.0 || 6.*
symfony/psr-http-message-bridge Version ^2.1
symfony/property-info Version ^4.4 || ^5.0 || 6.*
symfony/mime Version ^4.4 || ^5.0 || 6.*
symfony/cache Version ^4.4 || ^5.0 || 6.*
phpdocumentor/reflection-docblock Version ^5.1
goldspecdigital/oooas Version ^2.4
doctrine/annotations Version ^1.0