PHPackages                             gammamatrix/playground - 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. [Framework](/categories/framework)
4. /
5. gammamatrix/playground

ActiveLibrary[Framework](/categories/framework)

gammamatrix/playground
======================

Playground: A base package for Laravel integration.

01.6k[2 issues](https://github.com/gammamatrix/playground/issues)PHPCI passing

Since Nov 23Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Playground
==========

[](#playground)

[![Playground CI Workflow](https://github.com/gammamatrix/playground/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground/testing/develop/testdox.txt)[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground/testing/develop/coverage.svg)](tests)

This is the base package for Playground.

This package provides model handling for [Laravel](https://laravel.com/docs/11.x) packages.

- Playground allows using [Laravel ordered UUIDs](https://laravel.com/docs/11.x/strings#method-str-ordered-uuid) for primary keys.
- The configuration in Playground and subpackages permits defining the user model, table and primary key type: `increments` or `uuid`.
- Packages are compatible and tested with and without: middleware, roles, policies, privileges, Sanctum...

Read more on using Playground [at the Read the Docs for Playground.](https://gammamatrix-playground.readthedocs.io/)

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

[](#installation)

You can install the package via composer:

```
composer require gammamatrix/playground
```

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

[](#configuration)

You can publish the configuration file with:

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

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

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

[](#artisan-about)

Playground provides information in the `artisan about` command.

[![screenshot of artisan about command with Playground.](resources/docs/artisan-about-playground.png)](resources/docs/artisan-about-playground.png)

### Environment Variables

[](#environment-variables)

env()config()`PLAYGROUND_LOAD_MIGRATIONS``playground.load.migrations`- 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)

Migrations
----------

[](#migrations)

The migrations provided in this package are used for [PHPunit 11](https://docs.phpunit.de/en/11.0/) feature testing with [Orchestra Testbench](https://packages.tools/testbench.html).

- They will not be exported in software builds.

Cloc
----

[](#cloc)

```
composer cloc
```

```
➜  playground git:(develop) ✗ composer cloc
> cloc --exclude-dir=output,vendor .
      98 text files.
      62 unique files.
      38 files ignored.

github.com/AlDanial/cloc v 1.98  T=0.11 s (582.6 files/s, 57515.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             52            921            856           3591
YAML                             1              5              0            275
XML                              3              0              9            222
JSON                             2              0              0            103
Markdown                         3             42              0             82
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            62            971            865           4285
-------------------------------------------------------------------------------

```

PHPStan
-------

[](#phpstan)

Tests at level 9 on:

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

```
composer analyse
```

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

[](#coding-standards)

```
composer format
```

Testing
-------

[](#testing)

```
composer test
```

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

23

—

LowBetter than 27% of packages

Maintenance51

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

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 (38 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M120](/packages/cakephp-chronos)

PHPackages © 2026

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