Download the PHP package clearswitch/dragon-ball-laravel without Composer
On this page you can find all versions of the php package clearswitch/dragon-ball-laravel. 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 dragon-ball-laravel
Dragon-Ball-Laravel
对laravel10 进行个性化的定制
安装要求
- php >=8.0
- Laravel >10
- redis
优化的功能
- 模型的命名规则
蛇形的命名规则,例如表名字order_item 定模型的时候,需要写成OrderItem
模型都必须继承
添加数据的数据的时候,如果没填写主键值,自动添加用雪花规格自动补充主键
- token 的验证
token 使用的openssl 加密和解密,需要定义创建一个token的配置文件
做好这些就可以在auth.php 配置文件中就可以配置叫token的驱动
路由使用token的守卫
用户认证器的模型需要调用
获得验证通过的用户
- 缓存
在cache.php 配置中增加一个驱动,这个驱动是token用的
- 异常提企业微信和邮箱
在config 目录中配置文件 文件名字 robot.php
调用
- request
JsonRequest ,ListRequest,QueryRequest JsonRequest 对应的json请求 QueryRequest 对应的是Get的请求 ListRequest 对应的是类表请求
ListRequest 的应用
控制器
列表返回的格式
- 日志
日志使用的 monolog
- 事件
-
配置好企业微信之后直接调用异常事件
- 常量
版本大于1.1.0 增加了对常量的支持,且支持常量缓存
启用缓存 默认不支持缓存
可以使用的方法
All versions of dragon-ball-laravel with dependencies
PHP Build Version
Package Version
Requires
godruoyi/php-snowflake Version
^3.0
phpmailer/phpmailer Version ^6.8
laravel-lang/lang Version ^13.4
monolog/monolog Version ^3.4
phpmailer/phpmailer Version ^6.8
laravel-lang/lang Version ^13.4
monolog/monolog Version ^3.4
The package clearswitch/dragon-ball-laravel contains the following files
Loading the files please wait ....