承接 wyxos/laravel-resources 相关项目开发

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

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

wyxos/laravel-resources

最新稳定版本:v1.4.0

Composer 安装命令:

composer require wyxos/laravel-resources

包简介

A plugin that implements the concept of resource management.

README 文档

README

Please note that the repositories wyxos/laravel-listing and wyxos/laravel-resources are no longer maintained. They are now unified under wyxos/harmonie.

Laravel Resources

Add the concept of route handlers and resource handlers.

The aim of this package is:

  • Bypass the need to define controllers
  • Enforce defining route actions as string making renaming difficult
  • Reduce navigating to nested folders to reach Requests
// Create a route instance

php artisan make:route StoreUser

// Output

app/Routes/StoreUser.php

// Usage

Route::post('/users/store', StoreUser::class)

// Create a resource route instance

php artisan make:route User/Store --resource

// Output

app/Resources/User/Store.php

// Usage

route('resource', ['user', 'store'])

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-14