Download the PHP package yjtec/laravel-makerepo without Composer
On this page you can find all versions of the php package yjtec/laravel-makerepo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-makerepo
命令
1.创建interface命令
生成TestInterface文件
参数 -r
同时生成 TestRepository文件
2.生成repository文件
生成repository文件
参数 -m modelname
指定model的名称,不能包含model的路径
参数 -i test
指定interface为testInterface
基类() Repository方法
1.1 index($where)
获取符合条件的第一条数据
1.2 update($where,$data)
更新符合条件的数据
1.3 page($page)
分页数据
1.4 add($data)
新增数据,返回新增的模型
1.5findByField($field,$value)
查找符合field条件的第一条数据
1.6 list($where)
查找符合条件的数据 返回全部
All versions of laravel-makerepo with dependencies
PHP Build Version
Package Version
No informations.
The package yjtec/laravel-makerepo contains the following files
Loading the files please wait ....