承接 r3oath/hive 相关项目开发

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

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

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

Build Status Coverage Status Scrutinizer Code Quality PHP version StyleCI License MIT Documentation Status

SensioLabsInsight

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.

统计信息

  • 总下载量: 87
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-27