Skip to content

linkunyuan/es-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My utility for easyswoole

Quick Start

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 ....
}