https://github.com/sourcebroker/t3api
TYPO3 extension t3api. REST API for your TYPO3 project. Config with annotations, built in filtering, pagination, typolinks, image processing, uploads (FAL), serialization contexts, responses in Hydra/JSON-LD format. Api-platform based.
https://github.com/sourcebroker/t3api
api-platform hydra json-ld rest rest-api typo3-cms-extension typo3-extension
Last synced: 6 months ago
JSON representation
TYPO3 extension t3api. REST API for your TYPO3 project. Config with annotations, built in filtering, pagination, typolinks, image processing, uploads (FAL), serialization contexts, responses in Hydra/JSON-LD format. Api-platform based.
- Host: GitHub
- URL: https://github.com/sourcebroker/t3api
- Owner: sourcebroker
- License: gpl-2.0
- Created: 2019-08-30T16:12:43.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T22:18:35.000Z (7 months ago)
- Last Synced: 2025-04-02T20:46:37.986Z (6 months ago)
- Topics: api-platform, hydra, json-ld, rest, rest-api, typo3-cms-extension, typo3-extension
- Language: PHP
- Homepage:
- Size: 4.34 MB
- Stars: 34
- Watchers: 8
- Forks: 19
- Open Issues: 10
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
TYPO3 Extension t3api
=====================.. image:: https://poser.pugx.org/sourcebroker/t3api/v/stable
:target: https://extensions.typo3.org/extension/t3api/.. image:: https://img.shields.io/github/actions/workflow/status/sourcebroker/t3api/TYPO3_12.yml?label=Tests%20TYPO3%2012&logo=github
:target: https://github.com/sourcebroker/t3api/actions/workflows/TYPO3_12.yml.. image:: https://img.shields.io/github/actions/workflow/status/sourcebroker/t3api/TYPO3_13.yml?label=Tests%20TYPO3%2013&logo=github
:target: https://github.com/sourcebroker/t3api/actions/workflows/TYPO3_13.ymlFeatures
--------- Support for Extbase models with GET, POST, PATCH, PUT, DELETE operations.
- Configuration with classes, properties and methods annotations.
- Build-in filters: boolean, numeric, order, range and text (partial, match against and exact strategies).
- Build-in pagination.
- Support for typolinks.
- Support for image processing.
- Support for file uploads (FAL).
- Configurable routing.
- Responses in `Hydra `_ /`JSON-LD `_ format.
- Serialization contexts - customizable output depending on routing.
- Easy customizable serialization handlers and subscribers.
- Backend module with Swagger for documentation and real testing.Documentation
-------------Read the docs at https://docs.typo3.org/p/sourcebroker/t3api/master/en-us/
Take a look and test
--------------------After cloning repo you can run ``ddev restart && ddev composer install`` and then ``ddev ci 13`` to install local integration test instance.
Local instance is available at https://13.t3api.ddev.site/ (login to backend with ``admin`` / ``Password1!`` credentials).At frontend part you can at once test REST API responses for ext news:
* https://13.t3api.ddev.site/_api/news/news
* https://13.t3api.ddev.site/_api/news/news/1
* https://13.t3api.ddev.site/_api/news/categories
* etcYou can also run Postman test with ``ddev ci:tests:postman`` command or full test suite with ``ddev composer ci``.
Postman is doing full CRUD test with category and news (with image).Development
-----------If you want to help with development take a look at https://docs.typo3.org/p/sourcebroker/t3api/main/en-us/Miscellaneous/Development/Index.html