https://github.com/fauzan1892/codeigniter4-hmvc
CodeIgniter 4 HMVC
https://github.com/fauzan1892/codeigniter4-hmvc
codeigniter-template codeigniter4 hmvc-codeigniter php php-framework php8
Last synced: 20 days ago
JSON representation
CodeIgniter 4 HMVC
- Host: GitHub
- URL: https://github.com/fauzan1892/codeigniter4-hmvc
- Owner: fauzan1892
- License: mit
- Created: 2023-08-02T03:29:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-02T04:08:00.000Z (about 2 years ago)
- Last Synced: 2024-11-14T14:43:59.248Z (11 months ago)
- Topics: codeigniter-template, codeigniter4, hmvc-codeigniter, php, php-framework, php8
- Language: PHP
- Homepage:
- Size: 982 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Codeigniter4-HMVC
This is my version of Hierarchical model–view–controller (HMVC) project starter using CodeIgniter4 framework.
### Screenshot Example

## HMVC Structure
### Default Structure
By default, there is the structure of Codeigniter4-HMVC```
assets
\{YourFolderCSSAssets}
ci4-app
\DefaultFilesForCodeIgniter4
Modules
\{YourModule}
\Controllers
{YourController}.php
\Models
{YourModel}.php
\Views
{YourView}.php
Routes.php
Templates
\Controllers
{BaseController}.php
\helpers
{YourCustomHelper}.php
\components
{YourViewComponents}.php
\layouts
{YourViewLayout}.php
```### Screenshot Folder

### Custom Structure
You can structuring your module freely, because CodeIgniter4 use PSR4.
If you want to change the structure of Routes.php in Config Module folder or the structure of Module Controllers, you must change app/Config/Routes.php in HMVC## Contribute
You can contribute for extend CodeIgniter4 capabilities or add command prompt for development use by fork this repository. After that, you can make pull request.