Download the PHP package luyadev/luya-headless without Composer
On this page you can find all versions of the php package luyadev/luya-headless. 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 luya-headless
LUYA Headless Client
A client library to access content from the LUYA APIs (or any other REST API).
Installation
Add the LUYA headless client library to your composer.json:
Intro
Quick intro about how to use the headless library with a custom Endpoint: Create the Api Class (this very similar to Active Record pattern):
With the new ApiCars class you can now insert, update or fetch data:
Documentation
See the full Documentation in order to see how to make put, delete or post request, handle pagination or access the cms blocks.
- Documentation
Development and Contribution
- PSR Naming convention: https://www.php-fig.org/bylaws/psr-naming-conventions/
- Cache component require: https://www.php-fig.org/psr/psr-16/ (example implementation, use: https://github.com/symfony/cache
new FilesystemCache('', 0, 'path/to/cache/folder');
) - Unit tests
composer install
and run./vendor/bin/phpunit tests
All versions of luya-headless with dependencies
PHP Build Version
Package Version
The package luyadev/luya-headless contains the following files
Loading the files please wait ....