PHP code example of chloroplast / marmot-common
1. Go to this page and download the library: Download chloroplast/marmot-common library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chloroplast / marmot-common example snippets
use Marmot\Common\Model\Object;
class xxx
{
use Object;
}
src
└── Common
├── Command
│ ├── AddCommand.php
│ ├── DisableCommand.php
│ ├── EditCommand.php
│ └── EnableCommand.php
├── Controller
│ └── Interfaces
│ ├── IEnableAbleController.php
│ ├── IFetchAbleController.php
│ └── IOperateAbleController.php
└── Model
├── ComplexData.php
├── EnableTrait.php
├── IEnableAble.php
├── IObject.php
├── IObjectStatus.php
├── IObjectTime.php
├── IOperateAble.php
├── Object.php
├── ObjectStatus.php
├── ObjectTime.php
└── OperateTrait.php