PHPackages                             gammamatrix/site-laravel - 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. [Admin Panels](/categories/admin)
4. /
5. gammamatrix/site-laravel

ActiveProject[Admin Panels](/categories/admin)

gammamatrix/site-laravel
========================

Playground: This package provides a Laravel (users.id is an integer) site using Sanctum for authentication and authorization and utilizes Blade for the UI. A Content Management System is also provided, along with user and settings management.

00PHP

Since Mar 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gammamatrix/site-laravel)[ Packagist](https://packagist.org/packages/gammamatrix/site-laravel)[ RSS](/packages/gammamatrix-site-laravel/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Site: Laravel with Playground and Increments User
=================================================

[](#site-laravel-with-playground-and-increments-user)

[![Playground CI Workflow](https://github.com/gammamatrix/site-laravel/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/site-laravel/testing/develop/testdox.txt)[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/site-laravel/testing/develop/coverage.svg)](https://raw.githubusercontent.com/gammamatrix/site-laravel/testing/develop/coverage.svg)[![PHPStan Level 9 src and tests](https://camo.githubusercontent.com/b72adb1f27170ecf486459c4b07e920bb3db2b464444bce8277e018270665646/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d627269676874677265656e)](.github/workflows/ci.yml#L120)

This package includes a standard [Laravel](https://laravel.com/docs/11.x) installation with the [playground-site-blade](https://github.com/gammamatrix/playground-site-blade) package.

- This uses a standard Laravel user with an incrementing ID.
- To use a UUID for the primary key on the User model, use [site-playground](https://github.com/gammamatrix/site-playground) instead.

Read more on using [Site: Laravel at Read the Docs: Playground Documentation.](https://gammamatrix-playground.readthedocs.io/en/develop/applications/site-laravel.html)

This package may be installed with `composer create-project`

```
composer create-project gammamatrix/site-laravel site-example --stability dev
```

- **NOTE** A stable version needs to be released for `create-project`

Installed Playground Packages

PackageDescription[playground-admin-resource](https://github.com/gammamatrix/playground-admin-resource)Provide the Admin UI to manage users and settings.[playground-cms-resource](https://github.com/gammamatrix/playground-cms-resource)Provide the CMS UI for the Playground Content Management System.[playground-login-blade](https://github.com/gammamatrix/playground-login-blade)Provides endpoints a Blade UI for authentication, authorization, verification and credential management.[playground-site-blade](https://github.com/gammamatrix/playground-site-blade)Provides a standard website with an index, dashboard, sitemap, theme handling and CMS integration.Installed Support Playground Packages

PackageDescription[playground](https://github.com/gammamatrix/playground)A base package for Laravel integration.[playground-admin](https://github.com/gammamatrix/playground-admin)Provide the Settings models for `playground-admin-resource`.[playground-auth](https://github.com/gammamatrix/playground-auth)Provide authentication and authorization handling for Laravel applications. Allows using Sanctum.[playground-blade](https://github.com/gammamatrix/playground-blade)Provides Blade UI handling for login, resource and site packages.[playground-cms](https://github.com/gammamatrix/playground-cms)Provide the CMS models for `playground-cms-resource`.[playground-http](https://github.com/gammamatrix/playground-http)Provide HTTP content and filter handling for controllers and requests.[playground-test](https://github.com/gammamatrix/playground-test)A test helper for Playground packages.```
composer require --dev gammamatrix/playground-test
```

```
composer require gammamatrix/playground-site-blade
```

```
composer require gammamatrix/playground-login-blade
```

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

```
php artisan install:api
```

- Installs Sanctum
- Update the user model to enable Sanctum: `use HasApiTokens`

NOTE: Disable default Laravel welcome route.

Testing
-------

[](#testing)

This application supports running integration tests with the installed Playground packages.

- Currently, over [800 Unit and Feature tests are run.](https://raw.githubusercontent.com/gammamatrix/site-laravel/testing/develop/testdox.txt)

```

    tests/Unit
    vendor/gammamatrix/playground/tests/Unit
    vendor/gammamatrix/playground-auth/tests/Unit
    vendor/gammamatrix/playground-blade/tests/Unit
    vendor/gammamatrix/playground-admin/tests/Unit
    vendor/gammamatrix/playground-admin-resource/tests/Unit
    vendor/gammamatrix/playground-cms/tests/Unit
    vendor/gammamatrix/playground-cms-resource/tests/Unit
    vendor/gammamatrix/playground-http/tests/Unit
    vendor/gammamatrix/playground-test/tests/Unit

    tests/Feature
    vendor/gammamatrix/playground/tests/Feature
    vendor/gammamatrix/playground-auth/tests/Feature
    vendor/gammamatrix/playground-blade/tests/Feature
    vendor/gammamatrix/playground-admin/tests/Feature
    vendor/gammamatrix/playground-admin-resource/tests/Feature
    vendor/gammamatrix/playground-cms/tests/Feature
    vendor/gammamatrix/playground-cms-resource/tests/Feature
    vendor/gammamatrix/playground-login-blade/tests/Feature
    vendor/gammamatrix/playground-http/tests/Feature
    vendor/gammamatrix/playground-site-blade/tests/Feature
    vendor/gammamatrix/playground-test/tests/Feature

    app
    vendor/gammamatrix/playground/src
    vendor/gammamatrix/playground-auth/src
    vendor/gammamatrix/playground-blade/src
    vendor/gammamatrix/playground-admin/src
    vendor/gammamatrix/playground-admin-resource/src
    vendor/gammamatrix/playground-cms/src
    vendor/gammamatrix/playground-cms-resource/src
    vendor/gammamatrix/playground-login-blade/src
    vendor/gammamatrix/playground-site-blade/src
    vendor/gammamatrix/playground-http/src
    vendor/gammamatrix/playground-test/src

```

```
composer test
```

Test examples:

```
phpunit --coverage-text --filter ModelTest
```

```
phpunit --coverage-text --filter RouteTest
```

```
phpunit --coverage-text --filter InstanceTest
```

```
phpunit --coverage-text --filter Policy
```

```
phpunit --coverage-text --filter Resource
```

```
phpunit --coverage-text  --filter Login
```

PHPStan
-------

[](#phpstan)

Tests at level 9 on:

- `app/`
- `config/`
- `database/`
- `resources/views/`
- `tests/Feature/`
- `tests/Unit/`
- and on Playground packages.

```
composer analyse
```

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

[](#coding-standards)

```
composer format
```

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

[](#artisan-about)

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

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

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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://avatars.githubusercontent.com/u/524724?v=4)[Jeremy Postlethwaite](/maintainers/gammamatrix)[@gammamatrix](https://github.com/gammamatrix)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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