PHPackages                             gammamatrix/playground-admin-resource - 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-admin-resource

ActiveLibrary

gammamatrix/playground-admin-resource
=====================================

Playground: Provides an API and a Blade UI for interacting with Playground Admin, a User and Settings management System for Laravel applications.

068PHPCI passing

Since Aug 16Pushed 8mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Playground Admin Resource
=========================

[](#playground-admin-resource)

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

The `playground-admin-resource` Laravel package.

Documentation
-------------

[](#documentation)

Read more on using [Playground Admin Resource at Read the Docs: Playground Documentation.](https://gammamatrix-playground.readthedocs.io/en/develop/components/admin.html)

### Swagger

[](#swagger)

This application provides Swagger documentation: [swagger.json](swagger.json).

- The endpoint models support locks, trash with force delete, restoring 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 Admin UI and API Resource.

See [package.json](package.json) requirements.

Install npm.

```
npm install
```

Build the documentation to generate the [swagger.json](swagger.json) configuration.

```
npm run docs
```

Documentation

- Preview [swagger.json on the Swagger Editor UI.](https://editor.swagger.io/?url=https://raw.githubusercontent.com/gammamatrix/playground-admin-resource/develop/swagger.json)
- Preview [swagger.json on the Swagger Next Editor UI.](https://editor-next.swagger.io/?url=https://raw.githubusercontent.com/gammamatrix/playground-admin-resource/develop/swagger.json)
- Preview [swagger.json on the Redocly Editor UI.](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/gammamatrix/playground-admin-resource/develop/swagger.json)

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

[](#installation)

You can install the package via composer:

```
composer require gammamatrix/playground-admin-resource
```

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

[](#artisan-about)

Playground provides information in the `artisan about` command.

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

[](#configuration)

You can publish the config file with:

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

All routes are enabled by default. They may be disabled via enviroment variable or the configuration.

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

You can publish the routes file with:

```
php artisan vendor:publish --provider="Playground\Admin\Resource\ServiceProvider" --tag="playground-routes"
```

- The routes while be published in a folder at `routes/playground-admin-resource`

### Environment Variables

[](#environment-variables)

If you are unable or do not want to publish [configuration files for this package](config/playground-admin-resource.php), you may override the options via system environment variables.

Information on [environment variables is available on the wiki for this package](https://github.com/gammamatrix/playground-admin-resource/wiki/Environment-Variables)

Migrations
----------

[](#migrations)

This package requires the migrations in [playground-admin](https://github.com/gammamatrix/playground-admin) a Laravel package.

Cloc
----

[](#cloc)

```
composer cloc
```

```
➜  playground-admin-resource git:(develop) composer cloc
> cloc --exclude-dir=output,vendor .
     142 text files.
      97 unique files.
      46 files ignored.

github.com/AlDanial/cloc v 1.98  T=0.16 s (595.4 files/s, 64488.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
PHP                             59            707            881           3340
JSON                             3              0              0           2613
YAML                            14              5              0           1731
Blade                           15             70             15            783
XML                              3              0              5            225
Markdown                         2             41              1             74
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                            97            826            902           8778
-------------------------------------------------------------------------------

```

PHPStan
-------

[](#phpstan)

Tests at level 9 on:

- `config/`
- `database/`
- `resources/views/`
- `routes/`
- `src/`
- `tests/Feature/`
- `tests/Unit/`

```
composer analyse
```

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

[](#coding-standards)

```
composer format
```

Tests
-----

[](#tests)

```
composer test
```

Changelog
---------

[](#changelog)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance44

Moderate activity, may be stable

Popularity8

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

### Embed Badge

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

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

PHPackages © 2026

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