承接 mattostromhall/laravel-make-in 相关项目开发

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

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

mattostromhall/laravel-make-in

Composer 安装命令:

composer require mattostromhall/laravel-make-in

包简介

A wrapper around the artisan make command to move created classes to a specified path and update the namespace accordingly.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A wrapper around the artisan make command to move created classes to a specified path and update the namespace accordingly. This is not needed if you follow the default folder structure of a laravel project as the make command itself provides this in the name argument of the command.

However, if for instance you are following a Domain Driven approach, this saves you manually moving the files and updating namespaces after creation.

Installation

You can install the package via composer:

composer require --dev mattostromhall/laravel-make-in

Usage

The commands currently available are

php artisan make:command-in
php artisan make:controller-in
php artisan make:job-in
php artisan make:mail-in
php artisan make:model-in
php artisan make:request-in

The base path and namespace for a command can be set through your .env file by adding the following, with values for the base path and namespace you'd like to use for the command:

PATH_BASE_{CLASS_NAME}=path/to/base/location
NAMESPACE_BASE_{CLASS_NAME}=Base\Namespace\Here

Alternatively you can publish the config file and set the values you require there with:

php artisan vendor:publish --tag="laravel-make-in-config"

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固