gammamatrix / playground-directory-api
Playground: Provides an API, without a UI for interacting with Playground Directory, a Directory System for Laravel applications.
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2025-02-17 21:41:55 UTC
README
The Playground: Directory API package.
Documentation
Swagger
This application provides Swagger documentation: swagger.json.
- The endpoint models support locks, trash with force delete, restoring, revisions and more.
- Index endpoints support advanced query filtering.
Swagger API Documentation is built with npm.
- npm is only needed to generate documentation and is not needed to operate the CMS API.
See package.json requirements.
Install npm.
npm install
Build the documentation to generate the swagger.json configuration.
npm run docs
Documentation
Installation
You can install the package via composer:
composer require gammamatrix/playground-directory-api
Configuration
All options are disabled by default.
See the contents of the published config file: config/playground-directory-api.php
You can publish the config file with:
php artisan vendor:publish --provider=Playground\Directory\Api\ServiceProvider" --tag="playground-config"
Cloc
composer cloc
➜ playground-directory-api git:(develop) ✗ composer cloc
> cloc --exclude-dir=node_modules,output,vendor .
195 text files.
121 unique files.
76 files ignored.
github.com/AlDanial/cloc v 1.98 T=0.24 s (504.6 files/s, 98625.1 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 5 0 0 14524
PHP 81 689 1139 3883
YAML 28 5 0 3051
XML 3 0 7 215
Markdown 3 37 0 85
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 121 734 1146 21770
-------------------------------------------------------------------------------
PHPStan
Tests at level 9 on:
config/
lang/
routes/
src/
tests/Feature/
tests/Unit/
composer analyse
Coding Standards
composer format
Testing
composer test --parallel
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.