https://github.com/alzen8work/hmvc-libs
HMVC library for CodeIgniter 3.1
https://github.com/alzen8work/hmvc-libs
codeigniter3 hmvc php-library
Last synced: 8 months ago
JSON representation
HMVC library for CodeIgniter 3.1
- Host: GitHub
- URL: https://github.com/alzen8work/hmvc-libs
- Owner: alzen8work
- Created: 2017-06-22T08:04:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T08:08:08.000Z (almost 9 years ago)
- Last Synced: 2025-04-07T23:41:36.697Z (about 1 year ago)
- Topics: codeigniter3, hmvc, php-library
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HMVC-libs
HMVC library for CodeIgniter 3.1
## Requirements
- CodeIgniter 3.1
## Instalations
1. Make sure your CodeIgniter project installed already.
2. Move MY_Loader.php and MY_Router.php to /application/core/.
3. Move MX folder to /application/third_party/.
4. Create modules folder in application.
5. Create new folder called your_modules so the structure seems like \
\
./ your_project \
|- application \
|-- modules \
|--- your_module
6. Create controllers in your new module so the structure seems like \
\
./ your_project \
|- application \
|-- modules \
|--- your_module \
|---- controllers
7. Repeat sixth step to create models and views
8. Check the directory seems like this \
\
./ your_project \
|- application \
|-- modules \
|--- your_module \
|---- controllers \
|---- models \
|---- views
9. Finally, you can start write your code in the controllers, models and views in each modules you made
## Contribute
Fork this repo, wrote your own code, create new issue then make pull request. Feel free to contribute this repo.
# Thanks to
- CodeIgniter : https://codeigniter.com || https://github.com/bcit-ci/CodeIgniter
- Wiredesignz : https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/