From 5fbe734210c7f617b28c8b0cabf33d6523175b74 Mon Sep 17 00:00:00 2001 From: 713uk13m <713uk13m@713uk13ms-MacBook-Pro.local> Date: Thu, 4 Oct 2018 16:04:33 +0700 Subject: [PATCH] Update README --- README.md | 12 +++++++++--- composer.json | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6dc863a..69adcbd 100644 --- a/README.md +++ b/README.md @@ -63,11 +63,17 @@ Any loaded module controller can then be used like a library, ie: All module controllers are accessible from the URL via module/controller/method or simply module/method if the module and controller names match. If you add the _remap() method to your controllers you can prevent unwanted access to them from the URL and redirect or flag an error as you like. -### Use: +## How to use: I am custom library, now config same rule below -create file ***application/core/MY_Loader.php*** with content +#### Install with composer + +```shell +composer require nguyenanhung/codeigniter-hmvc +``` + +and create file ***application/core/MY_Loader.php*** with content ```php =5.5" + "php": ">=5.2.4" }, "autoload": { "psr-4": {