定制 andynoelker/laravel-5-view-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andynoelker/laravel-5-view-generator

最新稳定版本:1.0

Composer 安装命令:

composer require andynoelker/laravel-5-view-generator

包简介

Adds a Blade view generator to Laravel 5.

README 文档

README

This Laravel 5 package adds a Blade view generator to make your development process easier.

Installation

Step 1: Install Through Composer

composer require andynoelker/laravel-5-view-generator

Step 2: Add the Service Provider

Because you only want to use this generator for development, you will want to add it to the provider located in app/Providers/AppServiceProvider.php instead of adding to the providers array inside config/app.php.

public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register('Andynoelker\Laravel5ViewGenerator\ViewGeneratorServiceProvider');
    }
}

Usage

php artisan make:view myView

This will generate a blank myView.blade.php file in the views directory.

Parent Option

You can optionally specify a parent view that your new view will extend.

php artisan make:view myView --parent="parentView"

This will generate a view file that opens with:

@extends('parentView')

统计信息

  • 总下载量: 964
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固