承接 henrywhitaker3/laravel-actions 相关项目开发

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

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

henrywhitaker3/laravel-actions

最新稳定版本:v1.0.5

Composer 安装命令:

composer require henrywhitaker3/laravel-actions

包简介

Simple actions package for Laravel

README 文档

README

Latest Version on Packagist Tests status StyleCI

A simple Laravel actions package.

Installation

composer require henrywhitaker3/laravelactions

Usage

To create a new action, run:

php artisan make:action <name>

This will create a new action in App/Actions. You can then use the action in one of two ways:

$action = new SomeAction();
$action->run();

Or you can use the run helper function:

run(SomeAction::class);

You can pass arguments for the action's run method as the subsequent arguments for the helper method:

run(SomeAction::class, $arg);
run(SomeAction::class, $arg1, $arg2);

License

MIT license. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-02-04