PHPackages                             lsg/auto-screen - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lsg/auto-screen

ActiveLibrary

lsg/auto-screen
===============

筛选

19.3(2y ago)03.7kMITPHP

Since Dec 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/linsonggao/AutoScreen)[ Packagist](https://packagist.org/packages/lsg/auto-screen)[ RSS](/packages/lsg-auto-screen/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (183)Used By (0)

[English](README.md) | 简体中文

GUPO AUTOMAKE SDK for PHP
=========================

[](#gupo-automake-sdk-for-php)

实现了自动生成列表,验证器优化等功能

安装
--

[](#安装)

### Composer

[](#composer)

```
composer require lsg/auto-screen

php artisan vendor:publish --provider="Lsg\AutoScreen\AutoScreenServiceProvider"

config/app.php
增加
//自动查询脚本
Lsg\AutoScreen\AutoScreenServiceProvider::class
```

列表使用说明
------

[](#列表使用说明)

```
php artisan task:make_list AutoList
//在app/Lists下面生成了自动列表代码
使用方法:
 *      0.声明一个列表路由(比如/api/patient/list)
 *      1.在controller层$service->list($itemCode),
 *      2.在service层use当前类
```

验证器使用说明
-------

[](#验证器使用说明)

controller层需要引入MakeValidateRequest

```
