zekini/laravel-generics
Composer 安装命令:
composer require zekini/laravel-generics
包简介
A simple package to encapsulate all of our generic classes at Zekini to a package we can require in all our projects
README 文档
README
The zekini/laravel-generics package allows us to store our generic classes in a package so we can reuse them
Installation
composer require zekini/laravel-generics
sail artisan vendor:publish --tag=zekini-config
sail artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
sail artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
sail artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
sail artisan migrate
Usage
To reset password in a local database environment
sail artisan local:password-reset --password=password
To generate or update the code checkers config files:
sail artisan vendor:publish --tag=zekini-config --force
To add another generic command
sail artisan generic:command TestCommand
To add another generic helper
sail artisan generic:helper TestHelper
To use the pdf mergeer
Available Helpers
use Zekini\Generics\Helpers\ArrayHelper;
use Zekini\Generics\Helpers\ArrayToObjectHelper;
use Zekini\Generics\Helpers\CsvHelper;
use Zekini\Generics\Helpers\EnvironmentHelper;
use Zekini\Generics\Helpers\FileHelper;
use Zekini\Generics\Helpers\FlashHelper;
use Zekini\Generics\Helpers\ForeignKeyHelper;
use Zekini\Generics\Helpers\HttpHelper;
use Zekini\Generics\Helpers\LoggingHelper;
use Zekini\Generics\Helpers\StringHelper;
use Zekini\Generics\Helpers\UIHelper;
use Zekini\Generics\Helpers\TimezoneHelper;
use Zekini\Generics\Helpers\PDFMergeHelper;
Standard Packages
https://github.com/arcanedev/log-viewer
https://github.com/barryvdh/laravel-dompdf
https://github.com/laravel/jetstream
https://github.com/livewire/livewire
https://github.com/mediconesystems/livewire-datatables
https://github.com/spatie/laravel-activitylog
https://github.com/spatie/laravel-permission
https://github.com/maatwebsite/excel
https://github.com/spatie/laravel-backup
https://github.com/spatie/laravel-schedule-monitor
https://github.com/Webklex/laravel-pdfmerger
https://github.com/barryvdh/laravel-snappy
https://github.com/h4cc/wkhtmltoimage-amd64
https://github.com/h4cc/wkhtmltopdf-amd64
Standard Dev Packages
https://github.com/barryvdh/laravel-debugbar
https://github.com/nunomaduro/larastan
https://github.com/protoqol/prequel
https://github.com/symplify/easy-coding-standard
https://github.com/vimeo/psalm
Removed to be re-added once conflict is resolved "spatie/laravel-backup" "spatie/laravel-schedule-monitor"
Snappy config
The main change to this config file (config/snappy.php) will be the path to the binaries.
For example, when loaded with composer, the line should look like:
'binary' => base_path('vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64')
For windows users you'll have to add double quotes to the bin path for wkhtmltopdf:
'binary' => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf"'
For mac users what i simply did was install the macos executables for both libraries
zekini/laravel-generics 适用场景与选型建议
zekini/laravel-generics 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.86k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 11 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 zekini/laravel-generics 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 zekini/laravel-generics 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-28