Download the PHP package 233cy/hyperf-tenant without Composer
On this page you can find all versions of the php package 233cy/hyperf-tenant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hyperf-tenant
hyperf 单表多租户版本
使用方法: 在hyperf的orm中直接use TenantField;即可。 需配置的地方::
图中getTenantIdVal方法是用来获取全局默认租户id的。如果你默认不希望全局添加租户条件。可以返回null即可。然后通过orm::tenant来使用即可。
All versions of hyperf-tenant with dependencies
PHP Build Version
Package Version
The package 233cy/hyperf-tenant contains the following files
Loading the files please wait ....