承接 backpack/generators 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

backpack/generators

Composer 安装命令:

composer require backpack/generators

包简介

Generate files for laravel projects

README 文档

README

Latest Version on Packagist Software License Style CI Total Downloads

Quickly generate Backpack templated Models, Requests, Views and Config files for projects using Backpack for Laravel as their admin panel.

Security updates and breaking changes

Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 6-12 months.

Install

Via Composer

composer require --dev backpack/generators

[HOT TIP] To change what files get generated, you can publish the stubs with php artisan vendor:publish --tag=backpack-generators-stubs. Any files you generate afterwards will start from your stubs, instead of the default ones.

Usage

Open the console and enter one of the commands:

  • Generate Backpack\CRUD interfaces for all Eloquent models that don't already have one:
php artisan backpack:build
  • Generate all files for one new Backpack\CRUD interface:
php artisan backpack:crud {Entity_name}

# Use singular, either PascalCase, snake_case or kebab-case.
# This will create a Model if there isn't one, or add
# our CrudTrait to the model if it already exists.
  • Generate all files for a custom admin panel page:
php artisan backpack:page {PageName}

# You can use either PascalCase, snake_case or kebab-case.
# This will generate you a Controller, a view and a route.
  • Generate a new Backpack\CRUD file:
php artisan backpack:crud-controller {Entity_name}
php artisan backpack:crud-model {Entity_name}
php artisan backpack:crud-request {Entity_name}
  • Generate a model (available options: --softdelete)
php artisan backpack:model {Entity_name}
  • Generate a request
php artisan backpack:request {Entity_name}
  • Generate a view (available options: --plain)
php artisan backpack:view {Entity_name}
  • Generate a config file
php artisan backpack:config {Entity_name}
  • Generate a button
php artisan backpack:button {button_name}
  • Generate a field
php artisan backpack:field {field_name}

// or generate a field starting from another field
php artisan backpack:field {field_name} --from={original_field_name}
  • Generate a column
php artisan backpack:column {column_name}

// or generate a column starting from another column
php artisan backpack:column {column_name} --from={original_column_name}
  • Generate a filter
php artisan backpack:filter {filter_name}

// or generate a filter starting from another filter
php artisan backpack:filter {filter_name} --from={original_filter_name}
  • Generate a widget
php artisan backpack:widget {widget_name}

// or generate a widget starting from another widget
php artisan backpack:widget {widget_name} --from={original_widget_name}
  • Generate a custom operation
php artisan backpack:crud-operation {OperationName}
  • Generate a custom form operation
php artisan backpack:crud-form-operation {OperationName}

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

Backpack is free for non-commercial use and 69 EUR/project for commercial use. Please see License File and backpackforlaravel.com for more information.

Hire us

We've spend more than 50.000 hours creating, polishing and maintaining administration panels on Laravel. We've developed e-Commerce, e-Learning, ERPs, social networks, payment gateways and much more. We've worked on admin panels so much, that we've created one of the most popular software in its niche - just from making public what was repetitive in our projects.

If you are looking for a developer/team to help you build an admin panel on Laravel, look no further. You'll have a difficult time finding someone with more experience & enthusiasm for this. This is what we do. Contact us. Let's see if we can work together.

backpack/generators 适用场景与选型建议

backpack/generators 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.76M 次下载、GitHub Stars 达 312, 最近一次更新时间为 2016 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「config」 「view」 「model」 「request」 「generators」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 backpack/generators 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 backpack/generators 我们能提供哪些服务?
定制开发 / 二次开发

基于 backpack/generators 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2.76M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 317
  • 点击次数: 37
  • 依赖项目数: 26
  • 推荐数: 17

GitHub 信息

  • Stars: 312
  • Watchers: 15
  • Forks: 62
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2016-03-09