tenancy / tenancy翻译 / 编辑

最近提交:23天前
创建时间:2018.01.04

语言构成

PHP100.0%

README

tenancy logo

This is the successor of hyn/multi-tenant. It is still in development. Feel free to show support by starring the project following progress via twitter and backing its development over at OpenCollective.

CircleCI codecov

installation

Installation of the full package can be done using:

$ composer require tenancy/tenancy

In case you only want to use the bare necessities, use the framework:

$ composer require tenancy/framework

development

This repository is used for developing all tenancy packages.

Contributors need to use this repository for implementing code. All other repositories are READ-ONLY and overwritten on each subsplit push.

subsplitting

Subsplitting is the ability to push code from subdirectories into their own repository. By maintaining one monolith for the framework we can easily build, test and deploy features and refactorings.

The actual subsplitting process is reserved to package maintainers, as you'd need write access to the repositories and master branches for that.

  • install subsplit
  • run bash build/tenancy-split.sh

code

Some guidelines:

  • Do not use any helper functions except for app() and resolve().
  • Adhere to PSR-2 and leave further styling to StyleCI which auto applies on our codebase.

讨论区

说说你的看法