PHPackages                             gammamatrix/playground-crm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gammamatrix/playground-crm

ActiveLibrary

gammamatrix/playground-crm
==========================

Playground: Provide the CRM models for the Playground Client Relationship Management System.

022PHPCI passing

Since Sep 20Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/gammamatrix/playground-crm)[ Packagist](https://packagist.org/packages/gammamatrix/playground-crm)[ RSS](/packages/gammamatrix-playground-crm/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Playground: CRM
===============

[](#playground-crm)

[![Playground CI Workflow](https://github.com/gammamatrix/playground-crm/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground-crm/testing/develop/testdox.txt)[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-crm/testing/develop/coverage.svg)](tests)[![PHPStan Level 10](https://camo.githubusercontent.com/022b70e6631d055205dfebf2aa7e53b3f63e7a3ea04a18e86429f279e29a29f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c25323031302d627269676874677265656e)](.github/workflows/ci.yml#L128)

The Playground CRM is a package for [Laravel](https://laravel.com/docs/12.x) applications.

Playground: Provide the CRM models for the Playground Client Relationship Management System.

Read more on using [Playground: CRM at Read the Docs](https://gammamatrix-playground.readthedocs.io/en/develop/built-components/crm.html)

Installation
------------

[](#installation)

**NOTE:** This package is required by:

- [Playground: CRM API](https://github.com/gammamatrix/playground-crm-api): API without UI
- [Playground: CRM Resource](https://github.com/gammamatrix/playground-crm-resource): API with UI

Install this package, with composer, to get access to the CRM Models:

```
composer require gammamatrix/playground-crm
```

`artisan:about`
---------------

[](#artisanabout)

Playground CRM provides information in the `artisan about` command.

Configuration
-------------

[](#configuration)

Migrations are disabled by default. This package may sometimes be installed where another system handles the migrations.

See the contents of the published config file: [config/playground-crm.php](config/playground-crm.php)

You can publish the config file with:

```
php artisan vendor:publish --provider="Playground\Crm\ServiceProvider" --tag="playground-config"
```

### Environment Variables

[](#environment-variables)

env()config()Default`PLAYGROUND_CRM_ABOUT``playground-crm.about``true``PLAYGROUND_CRM_LOAD_MIGRATIONS``playground-crm.load.migrations``false`- The loading option for migrations does not take effect if the migrations have been exported to your app. The control for loading is handled in the package [ServiceProvider.](src/ServiceProvider.php)

Models
------

[](#models)

This package includes [factories](database/factories), models and [migrations](database/migrations) for:

- [Client](src/Models/Client.php)
- [Contact](src/Models/Contact.php)
- [Location](src/Models/Location.php)
- [Organization](src/Models/Organization.php)
- [People](src/Models/People.php)

Migrations
----------

[](#migrations)

All migrations are disabled by default.

See the contents of the published config file: [database/migrations](database/migrations)

- NOTE: There are 5 tables that will be created, they do have indexes and unique constraints defined; however, this release does not have the foreign key constraint migrations included at this time.

You can publish the migrations file with:

```
php artisan vendor:publish --provider="Playground\Crm\ServiceProvider" --tag="playground-migrations"
```

Cloc
----

[](#cloc)

```
composer cloc
```

```
➜  playground-crm git:(develop) ✗ composer cloc
      87 text files.
      82 unique files.
       6 files ignored.

github.com/AlDanial/cloc v 2.06  T=0.03 s (2445.8 files/s, 569035.7 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JSON                            34              0              0          14514
PHP                             33            369            854           2480
XML                             10              0              7            392
YAML                             1              5              0            275
Markdown                         3             46              1            120
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            82            423            862          17793
-------------------------------------------------------------------------------

```

PHPStan
-------

[](#phpstan)

Tests at level 10 on:

- `config/`
- `database/`
- `src/`
- `tests/Feature/`
- `tests/Unit/`

```
composer analyse
```

Coding Standards
----------------

[](#coding-standards)

```
composer format
```

Testing
-------

[](#testing)

Unit tests

```
composer test
```

Unit and feature tests

```
composer test-dev
```

Run unit and feature tests in parallel:

```
composer test-parallel
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Jeremy Postlethwaite](https://github.com/gammamatrix)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance44

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a309c28cee3aff88250942e5bc4d01f2d5a53f8b52456f6352adc338dc9a121b?d=identicon)[gammamatrix](/maintainers/gammamatrix)

---

Top Contributors

[![gammamatrix](https://avatars.githubusercontent.com/u/524724?v=4)](https://github.com/gammamatrix "gammamatrix (5 commits)")

### Embed Badge

![Health badge](/badges/gammamatrix-playground-crm/health.svg)

```
[![Health](https://phpackages.com/badges/gammamatrix-playground-crm/health.svg)](https://phpackages.com/packages/gammamatrix-playground-crm)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
