r3oath/hive
最新稳定版本:v2.1.0
Composer 安装命令:
composer require r3oath/hive
包简介
Hexagonal architecture framework for Laravel 5.1
README 文档
README
Hive has now been deprecated in favour of the more robust and framework agnostic Enzyme/Axiom package. Axiom is unfortunately not backwards compatible with Hive. But don't worry, it still plays great with Laravel! So if you're just starting out with a new project, try it out! 🎉
Current Build
Installation
Installation is simple, simply issue the following composer command
composer require r3oath/hive
Example App
Want to have a play around with an example implementation of Hive? Check out the example-app branch.
Docs
Check out the documentation at ReadTheDocs
Quick-fire
Hive comes with its own Service Provider that exposes a few new Artisan commands that make generating concrete implementations faster.
To enable it, simply append the following line to the 'providers' array inside config\app.php.
R\Hive\Providers\HiveServiceProvider::class,
The quickest way to setup a new collection of resources for a model is to fire off the the following command
php artisan hive:assemble X
In the example above, replace X with the name of your model. hive:assemble will create a new model, migration, mutator, validator, repo, factory and controller for Model.
Implementations can also be generated seperately through artisan with the following Hive commands:
- hive:command
- hive:controller
- hive:factory
- hive:handler
- hive:instance
- hive:repo
- hive:validator
- hive:mutator
The Hive specific classes will be placed in the app\Lib directory, while the rest will be located in standard Laravel locations.
Example
To play with an example implementation of Hive, check out the example-app branch of this repo.
r3oath/hive 适用场景与选型建议
r3oath/hive 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 87 次下载、GitHub Stars 达 11, 最近一次更新时间为 2015 年 09 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「architecture」 「hexagonal」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 r3oath/hive 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 r3oath/hive 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 r3oath/hive 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
This package is a solution for easy building and working with Porto pattern structure
PHP tool to calculate architecture stability metrics based on clean architecture principles
Enforce architecture by defining modules with allowed dependencies. Detects forbidden, uncovered, missing and unused module dependencies in PHP projects.
Enterprise-Grade Modular Architecture for Laravel Applications - A powerful Laravel package that revolutionizes application development with robust Service Repository Pattern, Dynamic Module Management, and 50+ Artisan commands for scalable, maintainable applications.
A BJIT Reusable Laravel Package
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-27