gammamatrix / playground-crm-api
Playground: Provides an API, without a UI for interacting with Playground CRM, a Client Relationship Management System for Laravel applications.
Requires
Requires (Dev)
- gammamatrix/playground-test: *
- illuminate/testing: ^12.0
- laravel/sanctum: ^4.0
This package is auto-updated.
Last update: 2025-09-28 23:12:35 UTC
README
The Playground: CRM API package.
Documentation
OpenAPI
This application provides OpenAPI documentation: openapi.yaml.
- The endpoint models support locks, trash with force delete, restoring, revisions and more.
- Index endpoints support advanced query filtering.
OpenAPI API Documentation is built with npm using Redocly.
- npm is only needed to generate documentation and is not needed to operate the Playground: CRM API API.
See package.json requirements.
Install npm.
npm install
Build the documentation to generate the openapi.yaml configuration.
npm run docs
Documentation
Installation
You can install the package via composer:
composer require gammamatrix/playground-crm-api
Configuration
All options are disabled by default.
See the contents of the published config file: config/playground-crm-api.php
You can publish the config file with:
php artisan vendor:publish --provider="Playground\Crm\Api\ServiceProvider" --tag="playground-config"
Cloc
composer cloc
➜ playground-crm-api git:(develop) ✗ composer cloc
388 text files.
378 unique files.
96 files ignored.
github.com/AlDanial/cloc v 2.06 T=0.11 s (3494.5 files/s, 390676.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 157 0 0 20362
YAML 54 5 0 11280
PHP 153 1452 1941 6265
XML 10 0 7 784
Markdown 3 40 0 108
INI 1 3 0 12
-------------------------------------------------------------------------------
SUM: 378 1500 1948 38811
-------------------------------------------------------------------------------
PHPStan
Tests at level 10 on:
config/
routes/
src/
tests/Feature/
tests/Unit/
composer analyse
Coding Standards
composer format
Testing
Run unit tests:
composer test
Run unit and feature tests:
composer test-dev
Run unit and feature tests in parallel:
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.