Download the PHP package jundayw/laravel-interceptor without Composer
On this page you can find all versions of the php package jundayw/laravel-interceptor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jundayw/laravel-interceptor
More information about jundayw/laravel-interceptor
Files in jundayw/laravel-interceptor
Download jundayw/laravel-interceptor
More information about jundayw/laravel-interceptor
Files in jundayw/laravel-interceptor
Please rate this library. Is it a good library?
Informations about the package laravel-interceptor
laravel-interceptor
安装
推荐使用 PHP 包管理工具 Composer 软件包管理器安装:
接下来,你需要使用 vendor:publish
Artisan 命令发布的配置和迁移文件。
配置文件将会保存在 config 文件夹中:
或单独发布配置文件
或单独发布迁移文件
最后,您应该运行数据库迁移。
数据填充:
自定义迁移
如果你不想使用默认迁移,你应该在 interceptor.php
配置文件中将 migration
设置为 false
。
您可以通过执行以下命令导出默认迁移:
扩展云端过滤器
本扩展包默认支持 Eloquent
驱动的 \Jundayw\LaravelInterceptor\Support\LocalFilter::class
本地过滤器,
编码实现后需要变更配置文件 interceptor.php
中过滤驱动 driver
为 App\Filter\Cloud\CloudFilter::class
。
最佳实践
或者使用门面模式:
All versions of laravel-interceptor with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ext-json Version *
ext-json Version *
The package jundayw/laravel-interceptor contains the following files
Loading the files please wait ....