linkunyuan/es-utility

This package is abandoned and no longer maintained. The author suggests using the wonder-game/es-utility package instead.

utility for easyswoole

v1.0.39 2022-03-21 03:26 UTC

README

Quick Start

最新版已迁移至https://github.com/wonder-game/es-utility

Install the library using composer:

php composer.phar require linkunyuan/es-utility

Import traits and run:

Controller

<?php
use Linkunyuan\EsUtility\Traits\LamController;

class MyClass
{
	use LamController;
    
	// here are some methods from LamController ....
}

Model

<?php
use Linkunyuan\EsUtility\Traits\LamModel;

class MyClass
{
	use LamModel;
    
	// here are some methods from LamController ....
}