PHPackages                             schubu/laravel-make-view - 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. schubu/laravel-make-view

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

schubu/laravel-make-view
========================

A laravel artisan cli plugin to create your views

08PHP

Since Aug 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SchuBu/laravel-make-view)[ Packagist](https://packagist.org/packages/schubu/laravel-make-view)[ RSS](/packages/schubu-laravel-make-view/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0e4ce59b6e3dd30e08f1bbf51bef912456088fa9534d5f2cd57da2d9371dd6c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7363687562752f6c61726176656c2d6d616b652d766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schubu/laravel-make-view)[![Build Status](https://camo.githubusercontent.com/5729314f8fde5dcef621b1ebbfeb9f696bc9bca5e99add95f523ac3ad6d3f3c1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7363687562752f6c61726176656c2d6d616b652d766965772f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/schubu/laravel-make-view)[![Quality Score](https://camo.githubusercontent.com/cd900be6a60b2adbd731b67f515335a708f769b89c88f56003a158c99926b487/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7363687562752f6c61726176656c2d6d616b652d766965772e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/schubu/laravel-make-view)[![Total Downloads](https://camo.githubusercontent.com/78f505c120f5c5095f600d48eca2f588969f26f7b14f85c40268cddb0c1146bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7363687562752f6c61726176656c2d6d616b652d766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schubu/laravel-make-view)

This package extends the artisan command line tool with an additional make:view command to easily create your view files. You can use the dot notation for creating them in subdirectories. You can define different blade templates by creating stub files, e.q different template files for your frontend and backend.

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

[](#installation)

You can install the package via composer:

```
composer require schubu/laravel-make-view
```

Usage
-----

[](#usage)

```
php artisan make:view [Your-View-Folder.Subdirectory]
```

This will create 4 files named "index.blade.php", "show.blade.php", "create.blade.php" and "edit.blade.php" with in your specified folder (in this example views\\Your-View-Folder\\Subdirectory).

Templating
----------

[](#templating)

You can use blade templates by creating a template-stub file. First you have to publish the stub files (see section publishing stub files). To create a new template, create a \*.stub file with in your app/Vendor/SchuBu/make-view/stubs folder. This is automatically created after publishing the stubs. After that you can use your template file by calling following command:

```
php artisan make:view [Viewfolder] -t YOUR-TEMPLATE
```

You've to omit the .stub extension!

Publishing your stub files
--------------------------

[](#publishing-your-stub-files)

You can publish your stub files (to edit and create your blade templates) by following command:

```
php artisan vendor:publish --provider="SchuBu\MakeView\MakeViewServiceProvider" --tag=stubs
```

This will create a directory with in your app directory. You'll find your stubs in app\\Vendor\\SchuBu\\make-view\\stubs

### Overriding existing templates

[](#overriding-existing-templates)

Normally preexisting templates won't be overwritten. You can force this behaviour by adding the "-f" option:

```
php artisan make:view [Your-View-Folder.Subdirectory] -f
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [SchuBu](https://github.com/schubu)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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://www.gravatar.com/avatar/6f0a9c4d63038e4321c6c9dc7e9b531297a996806848dabb5bdaac75a97fcfd4?d=identicon)[SchuBu](/maintainers/SchuBu)

---

Top Contributors

[![SchuBu](https://avatars.githubusercontent.com/u/30638214?v=4)](https://github.com/SchuBu "SchuBu (1 commits)")

### Embed Badge

![Health badge](/badges/schubu-laravel-make-view/health.svg)

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

###  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)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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