Route file to be used with Lagan to create a JSON API.
To install, add api.php to the routes directory. To protect the /api/write route, add it to the Slim HTTP Basic Authentication middleware setup in the Lagan index.php file:
'path' => ['/admin', '/api/write']
.
To be used with Lagan. Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.
Lagan is a project of Lútsen Stellingwerff.