定制 felipetti/service-layer 二次开发

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

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

felipetti/service-layer

最新稳定版本:v3.0.0

Composer 安装命令:

composer require felipetti/service-layer

包简介

This package is for creating a service layer in Laravel projects

README 文档

README

What it does:

This package allows you to create the service layer of a Laravel project, or all the layers necessary for the development of an application; in a fast and personalized way. You can put the name you want to this layer, Services, Repositories, Actions or anything you want; it's your choice. Look at the configuration section, to personalize this package and adapt it your preferences =).

Installation:

composer require felipetti/service-layer

Usage instructions:

To build a service layer, example:

php artisan make:service UserService

To build all layers, example:

php artisan make:all Post

You can modify the creation of layers and other stuff, publishing config:

php artisan vendor:publish --tag=service-layer-config

To publish stub and personalize the service file:

php artisan vendor:publish --tag=service-layer-stub

Configuration:

You can put the destination path of your service file here:

'service_folder_path' => app_path('Services')

You can put the destination path of your stub file here:

'stub_folder_path' => base_path('stub')

You can put the parameters passed by to [make:all] command here:

'parameters' => '-mfsc'

Comments:

Despite not containing a very difficult logic, this package was thought to help optimize the creation of the service layer and the others too, so used every day by developers who love using Laravel. If you like this package, please don't hesitate to star me, it will really help a lot =).

Security:

If you discover any security-related issues, please email guill388@hotmail.com instead of using the issue tracker.

Issues:

For any issues, questions or suggestions, please don't hesitate to post it in issues or send a mail to the one above.

Credits:

Special thanks to Francisco Panozzo who greatly helped me along the way =).

License:

The MIT License (MIT).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-06