PHPackages                             maddhatter/laravel-view-generator - 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. maddhatter/laravel-view-generator

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

maddhatter/laravel-view-generator
=================================

Tiny package to create a make:view command for Laravel 5+

v0.0.9(3y ago)158.4k↑50%82MITPHPPHP &gt;=5.4.0

Since Oct 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/maddhatter/laravel-view-generator)[ Packagist](https://packagist.org/packages/maddhatter/laravel-view-generator)[ RSS](/packages/maddhatter-laravel-view-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (10)Used By (2)

Laravel 5+ View Generator
=========================

[](#laravel-5-view-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/21afe8733fa09facef1c8bb9bbb4810a542943561c01bf53280362dff8ddcf5b/68747470733a2f2f706f7365722e707567782e6f72672f6d6164646861747465722f6c61726176656c2d766965772d67656e657261746f722f762f737461626c65)](https://packagist.org/packages/maddhatter/laravel-view-generator) [![Total Downloads](https://camo.githubusercontent.com/52ec23e5e851f91438837015f6f6e074e1762fae1f40ffe994571e31f04b13a1/68747470733a2f2f706f7365722e707567782e6f72672f6d6164646861747465722f6c61726176656c2d766965772d67656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/maddhatter/laravel-view-generator) [![Latest Unstable Version](https://camo.githubusercontent.com/22ce5251d9653ea7d5eab32f25dbeb340c97595a2a1451fa4c537d74bb25aadf/68747470733a2f2f706f7365722e707567782e6f72672f6d6164646861747465722f6c61726176656c2d766965772d67656e657261746f722f762f756e737461626c65)](https://packagist.org/packages/maddhatter/laravel-view-generator) [![License](https://camo.githubusercontent.com/90b9f5474171d61b2c32978969756f4d8ef4174b48c1796d019dfe9a13086f30/68747470733a2f2f706f7365722e707567782e6f72672f6d6164646861747465722f6c61726176656c2d766965772d67656e657261746f722f6c6963656e7365)](https://packagist.org/packages/maddhatter/laravel-view-generator)

This is a tiny package to add a `php artisan make:view` command to quickly create blade views.

Installing
----------

[](#installing)

Require the package with composer using the following command:

```
composer require maddhatter/laravel-view-generator --dev

```

Or add the following to your composer.json's require section and `composer update`

```
"require-dev": {
	"maddhatter/laravel-view-generator": "dev-master"
}
```

Or if you always want it included regardless of environment, just add it to the `providers` array in `config/app.php`

Usage
-----

[](#usage)

### Create a New View

[](#create-a-new-view)

```
php artisan make:view path.to.your.view

```

Use the same dotted notation to your view that you would pass to the `view()` command. The directory will be created if it doesn't already exist.

Note: If there are multiple paths defined in your `config/view.php`'s `paths` array, this package will use the first path.

### Extend Another View

[](#extend-another-view)

```
php artisan make:view path.to.your.view -e path.to.parent.view

```

You can optionally extend another view by adding the `-e` parameter and providing the name of the view you want to extend. It will parse the parent view for `@yield()` directives and create the corresponding `@section` / `@endsection` tags. To exclude a section from automatic creation, begin the name with an underscore, e.g.: `_meta`

#### Example

[](#example)

Imagine you have the following layout defined:

resources/views/layouts/master.blade.php

```

  @yield('_meta')

    @yield('content')

  @yield('scripts')

```

And you run:

```
php artisan make:view pages.home -e layouts.master

```

The following will be created:

resources/views/pages/home.blade.php

```
@extends('layouts.master')

@section('content')
@endsection

@section('scripts')
@endsection

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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.

###  Release Activity

Cadence

Every ~304 days

Recently: every ~219 days

Total

9

Last Release

1418d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c7a984515823102600ef92692a6dc3b5389f41810eba3a21b3d6aae4319fd20?d=identicon)[maddhatter](/maintainers/maddhatter)

---

Top Contributors

[![maddhatter](https://avatars.githubusercontent.com/u/4449339?v=4)](https://github.com/maddhatter "maddhatter (15 commits)")[![mrcat323](https://avatars.githubusercontent.com/u/23054662?v=4)](https://github.com/mrcat323 "mrcat323 (2 commits)")

### Embed Badge

![Health badge](/badges/maddhatter-laravel-view-generator/health.svg)

```
[![Health](https://phpackages.com/badges/maddhatter-laravel-view-generator/health.svg)](https://phpackages.com/packages/maddhatter-laravel-view-generator)
```

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k217.1k59](/packages/moonshine-moonshine)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

703141.0k7](/packages/tallstackui-tallstackui)[laravel/folio

Page based routing for Laravel.

608453.9k27](/packages/laravel-folio)

PHPackages © 2026

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