PHPackages                             gammamatrix/playground-blade - 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. [Templating &amp; Views](/categories/templating)
4. /
5. gammamatrix/playground-blade

ActiveLibrary[Templating &amp; Views](/categories/templating)

gammamatrix/playground-blade
============================

Playground: Provides Blade UI handling.

0468BladeCI passing

Since Jan 26Pushed 2w ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Playground Blade
================

[](#playground-blade)

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

The Playground Blade package for [Laravel](https://laravel.com/docs/11.x) applications.

This package provides Blade UI handling.

Read more on using [Playground Blade at Read the Docs: Playground Documentation.](https://gammamatrix-playground.readthedocs.io/en/latest/playground/blade.html)

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

[](#installation)

You can install the package via composer:

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

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

[](#configuration)

You can publish the config file with:

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

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

Read more on using [Environment Variables at the Read the Docs for Playground Blade.](https://gammamatrix-playground.readthedocs.io/en/develop/playground/blade.html#environment-variables)

UI Layouts
----------

[](#ui-layouts)

NOTE: Using Blade is not required to use Playground, it just an option, such as Vue, React or TypeScript.

The configuration in [config/playground-blade.php](config/playground-blade.php) has a section for frontend assets. If you would like to add more assets, CSS or JavaScript, publish the configuration and add them to the `libs` section.

Assets may be loaded into either head or they will be added to the end of the body.

By default, the following libraries are loaded.

- `favicon`: `/favicon.ico`
- [Nunito](https://fonts.google.com/specimen/Nunito): Loaded from Google Fonts.
- [Bootstrap: v5.3.3](https://getbootstrap.com/docs/5.3/)
- [FontAwesome: v6.5.1](https://fontawesome.com/search?o=r&m=free)
- [CKEditor 5: v41.1.0](https://github.com/ckeditor/ckeditor5)
- [Vue 3 - v3.4.21](https://vuejs.org/)
- `/vendor/playground/blade.js` A small library to be loaded for Blade UI usage. Needs to be published.

Optionally, a page may load:

- [CKEditor 5](https://ckeditor.com/ckeditor-5/) an advanced WYSIWYG editor for forms.

### Assets

[](#assets)

If you are using the Playground Blade UI, you can publish the JS assets with:

```
php artisan vendor:publish --tag playground-blade-js
```

- These Javascript assets, [resources/js/playground-blade.js](resources/js/playground-blade.js), provide simple helpers for features such as Bootstrap Form Validation and loading CKEditor for textarea elements on forms.

Publishes CSS:

```
php artisan vendor:publish --tag playground-blade-css
```

You can publish the layouts file with:

```
php artisan vendor:publish --tag playground-blade-layouts
```

Components may also be published:

```
php artisan vendor:publish --tag playground-blade-components
```

Error pages are available at:

```
php artisan vendor:publish --tag playground-blade-errors
```

Testing
-------

[](#testing)

```
composer test
```

Cloc
----

[](#cloc)

```
composer cloc
```

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

github.com/AlDanial/cloc v 1.98  T=0.10 s (1143.8 files/s, 81948.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Blade                           49            397             13           2700
PHP                             47            466            518           2524
CSS                             10            139            141            461
SVG                              2              2              2            301
YAML                             1              5              0            275
XML                              3              0              7            221
Markdown                         3             47              0             98
JSON                             1              0              0             65
JavaScript                       1              0             35             22
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                           118           1059            716           6679
-------------------------------------------------------------------------------

```

PHPStan
-------

[](#phpstan)

Tests at level 9 on:

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

```
composer analyse
```

About
-----

[](#about)

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

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

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

25

—

LowBetter than 36% of packages

Maintenance63

Regular maintenance activity

Popularity16

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

### Embed Badge

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

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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