PHPackages                             mintreu/laravel-layout - 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. mintreu/laravel-layout

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

mintreu/laravel-layout
======================

Laravel Themeable Blade Layout Solution

026PHP

Since Jan 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mintreu/laravel-layout)[ Packagist](https://packagist.org/packages/mintreu/laravel-layout)[ RSS](/packages/mintreu-laravel-layout/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Themeable Blade Layout Solution
=======================================

[](#laravel-themeable-blade-layout-solution)

[![Latest Version on Packagist](https://camo.githubusercontent.com/364445fc56bf9158b15d645188993d9ebc74d256ed1245ecab7a349eee1df6d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696e747265752f6c61726176656c2d6c61796f75742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mintreu/laravel-layout)[![GitHub Tests Action Status](https://camo.githubusercontent.com/85f27c1d77119c0192ce3528e81e7b337ecc97b74e22da971eec989ae66c70df/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d696e747265752f6c61726176656c2d6c61796f75742f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/mintreu/laravel-layout/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/726f62e040c170575ff58da9e58bf10f75fb4a708a0b8bfce141b1efdf522a72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d696e747265752f6c61726176656c2d6c61796f75742f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/mintreu/laravel-layout/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d8c2672c6f93f243b6901a5ce2088b9ac4e4cae2a3462d6b293030d1f1d3bd01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696e747265752f6c61726176656c2d6c61796f75742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mintreu/laravel-layout)[![Size](https://camo.githubusercontent.com/436c32455641a81d240415a4c574ae09031c30f3bf9ba0423a5c60d5d05d1d36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6d696e747265752f6c61726176656c2d6c61796f7574)](https://camo.githubusercontent.com/436c32455641a81d240415a4c574ae09031c30f3bf9ba0423a5c60d5d05d1d36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6d696e747265752f6c61726176656c2d6c61796f7574)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/93139ed7e9cc1913d639b8a8fd4969f96d1da8d65a5e65437e4bb53dc205abff/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d6c61796f75742e6a70673f743d31)](https://mintreu.com/github-ad-click/laravel-layout)

We invest a lot of resources into creating [best in class open source packages](https://mintreu.com/open-source). You can support us by [buying one of our paid products](https://mintreu.com/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://mintreu.com/about-us). We publish all received postcards on [our virtual postcard wall](https://mintreu.com/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require mintreu/laravel-layout
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-layout-config"
```

This is the contents of the published config file:

```
return [
 'support' => [
       'vite' => [
           'status' => true,       // enable or disable vite directive
           'hasCss' => false,       // if true load app.css separately or false load via app.js
           'vendorBuild' => null   // set custom build path 'vendor/package/build'
       ],

       'wire' => true,         // livewire status
       'spa'   => true,        // load turbolinks
       'direction' => 'ltr',    // 'ltr'/'rtr',
       'alpine' => false,
   ],
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-layout-views"
```

Usage
-----

[](#usage)

**Create Own Theme**

```
// Create New Blade Component
php artisan make:component CustomTheme

// Make it Child by extending LaravelLayout
class CustomTheme extends LaravelLayout
{
    protected ?string $view = 'custom view path';
}
```

Start Using Your New Theme By

```

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Krishanu](https://github.com/krishzzi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.9% 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/65631cf49fcf10773fcd3465bcf4cbf830534b3f9896bd88d9ca526a0af12348?d=identicon)[mintreu](/maintainers/mintreu)

---

Top Contributors

[![krishzzi](https://avatars.githubusercontent.com/u/36711704?v=4)](https://github.com/krishzzi "krishzzi (31 commits)")[![mintreu](https://avatars.githubusercontent.com/u/102323768?v=4)](https://github.com/mintreu "mintreu (2 commits)")

### Embed Badge

![Health badge](/badges/mintreu-laravel-layout/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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