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

ActiveLibrary[Admin Panels](/categories/admin)

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

Playground: Provides a standard website with an index, dashboard, sitemap, theme handling and CMS integration.

0339PHPCI passing

Since Aug 15Pushed 2w ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Playground Site Blade
=====================

[](#playground-site-blade)

[![Playground CI Workflow](https://github.com/gammamatrix/playground-site-blade/actions/workflows/ci.yml/badge.svg?branch=develop)](https://raw.githubusercontent.com/gammamatrix/playground-site-blade/testing/develop/testdox.txt)[![Test Coverage](https://raw.githubusercontent.com/gammamatrix/playground-site-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 Site Blade package for [Laravel](https://laravel.com/docs/11.x) applications.

This package provides a standard website with:

- Bootstrap Theme Handling
- Dashboard
- Home and Index
- Sitemap
- Welcome
- CMS integration

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

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

[](#installation)

You can install the package via composer:

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

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

[](#artisan-about)

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

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

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

[](#configuration)

You can publish the config file with:

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

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

You can publish the views file with:

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

### Environment Variables

[](#environment-variables)

If you are unable or do not want to publish [configuration files for this package](config/playground-site-blade.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-site-blade/wiki/Environment-Variables)

UI
--

[](#ui)

Toggle UI screenshots### Sitemap

[](#sitemap)

[![screenshot of a sitemap loaded in a mobile view with dark mode.](resources/docs/playground-site-blade-sitemap.png)](resources/docs/playground-site-blade-sitemap.png)- Sitemap loaded in a mobile view with dark mode

#### Authorization checks in Sitemaps

[](#authorization-checks-in-sitemaps)

All sitemaps are expected to perform `Route::has($route)` checks and verify the user has access against the ACLs.

For example, this is in the CMS sitemap blade:

```
