vanchao0519/voyager-data-transport
Composer 安装命令:
composer require vanchao0519/voyager-data-transport
包简介
A command line to generate voyager Controller and View files to import and export data with excel and database
关键字:
README 文档
README
A command line tools to generate the Controller and the View files
which can import data to database and export data to the file which extension included excel, csv and pdf.
Notice that the package is based on Voyager.
Before install
You must confirm that laravel project created and the voyager package installed before.
Run the command below to install basic test data
php artisan voyager:install --with-dummy
Move the test data csv to 'public' folder
Suppose your current directory is path/to/VoyagerDataTransport
mv posts_data.csv public/data.csv
How to install the VoyagerDataTransport
composer require vanchao0519/voyager-data-transport
How to use
The fastest way:
php artisan voyager:data:transport <data-tabel-name>
You can also used the single command which you want:
- Create import permission record to database
php artisan voyager:data:transport:import:permission <data-tabel-name>
- Create export permission record to database
php artisan voyager:data:transport:export:permission <data-tabel-name>
- Create import controller file
php artisan voyager:data:import:controller <data-tabel-name>
- Create export controller file
php artisan voyager:data:export:controller <data-tabel-name>
- Create browse view file
php artisan voyager:data:transport:browse:view <data-tabel-name>
- Create import data view file
php artisan voyager:data:transport:import-data:view <data-tabel-name>
- Create export data view file
php artisan voyager:data:transport:export-data:view <data-tabel-name>
- Create voyager data transport permission detail config file
php artisan voyager:data:transport:permission:detail:config <data-tabel-name>
- Create voyager data transport route detail config file
php artisan voyager:data:transport:route:detail:config <data-tabel-name>
- Publish config files to app/VoyagerDataTransport/config/permissions and app/VoyagerDataTransport/config/route folder
php artisan voyager:data:transport:publish:config
More
Here is a demonstrate more details after you execute the command line of this project
vanchao0519/voyager-data-transport 适用场景与选型建议
vanchao0519/voyager-data-transport 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 95 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 12 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「code generator」 「voyager extend」 「commmand line」 「data import from csv and excel file」 「data export to csv excel and pdf extension」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vanchao0519/voyager-data-transport 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vanchao0519/voyager-data-transport 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vanchao0519/voyager-data-transport 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
Hooks integrated in Voyager
Promotional Codes Generator for Laravel 5.1
Tiptap WYSIWYG editor for Voyager II
Voyager application installer.
Zend Captcha bundle
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-26