Krayin REST API is a medium to use the features of the core Krayin System. By using Krayin REST API, you can integrate your application to serve the default content of Krayin.
- Krayin: master
composer require krayin/rest-api
Add below options in the .env file (i.e. http://localhost/public your domain):
SANCTUM_STATEFUL_DOMAINS=http://localhost/public
php artisan krayin-rest-api:install
http://localhost/public/api/documentation
- You can check the L5-Swagger guidelines too regarding the configuration the API documentation.