承接 slider23/laravel-modulator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

slider23/laravel-modulator

Composer 安装命令:

composer require slider23/laravel-modulator

包简介

Artisan-generator for easy creating module in your Laravel namespace-based application.

README 文档

README

Artisan generator for easy creating module in your Laravel namespace-based application.

Installation

Require this package in your composer.json and run composer update (or run composer require slider23/laravel-modulator:1.* directly):

"slider23/laravel-modulator": "1.*"

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

'Slider23\LaravelModulator\LaravelModulatorServiceProvider',

Usage

Run Artisan command:

php artisan modulator --path=app/Acme User --template=default

where Acme - namespace of your application (must be in autoload section of composer.json) User - name of module for create. default - folder with files of template, defined in config.php . 'default' is devault value, also available template 'formvalidation' with validator an model presenter of Jeffrey Way (https://github.com/laracasts). --template is optional.

In folder app/Acme will be created:

Module structure

Add Acme\User\UserServiceProvider to the providers array in app/config/app.php. Module is ready to work !

Customization

To change module structure clone config to your app:

php artisan config:publish slider23/laravel-modulator

and add path to your folder of template to app/config/packages/slider23/laravel-modulator/config.php:

return array(
	'templates_path' =>
		array(
			'default' => "vendor/slider23/laravel-modulator/src/Slider23/LaravelModulator/templates/default/",
			'formvalidation' => "vendor/slider23/laravel-modulator/src/Slider23/LaravelModulator/templates/formvalidation/",
			'myowntemplate' => "app/storage/my_module_template/"
		)
);

统计信息

  • 总下载量: 119
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 5
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固