Download the PHP package simpletine/hmvc-shield without Composer
On this page you can find all versions of the php package simpletine/hmvc-shield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download simpletine/hmvc-shield
More information about simpletine/hmvc-shield
Files in simpletine/hmvc-shield
Package hmvc-shield
Short Description Features a modular HMVC (Hierarchical Model-View-Controller) architecture for CodeIgniter 4, integrated CodeIgniter 4 Shield and built with AdminLTE, providing a robust foundation for scalable web applications.
License MIT
Informations about the package hmvc-shield
Codeigniter 4 HMVC
This repository features a modular HMVC (Hierarchical Model-View-Controller) architecture for CodeIgniter 4, integrated with the official authentication system, CodeIgniter 4 Shield. It also includes a comprehensive Admin Dashboard built with AdminLTE, providing a robust foundation for scalable and secure web applications.
Installation Guide
Create a project
Copy env
file and setup database environment
Run the app, using different port, add options --port=9000
Configuration
Install HMVC package
Setup Command Line
Default Auth
Create User
Use command line to create a new user
Notice
If you are using old versions, after composer update, you need to update the index.php
and spark
file to root folder (Upgrading to v4.4.8)
Module Commands
Commands available and funcationality
General
Create a new module named Blogs
Clone a existing module of Blogs
and renamed to Items
Create a controller to module Blogs
named Categories.php
Create a model to module Blogs
named Categories.php
Publisher
Publish require assets to public
folder
Publish views with AdminLTE
to COnfig/Auth.php
Admin
Additional options for the commands
Create a new controller and view to Admin
module with AdminLTE
Modules Directory
App
├── Modules
│ └── Blogs
│ ├── Config
│ └── Routes.php
│ ├── Controllers
│ └── Blogs.php
│ ├── Models
│ └── Blogs.php
│ └── Views
│ └── index.php
└── ...
Route Group
Add new subroutes to blogs
named new
with method name
Sample of routes group after new subroutes
PHPCS
Default instance of containing all rules applicable for the CodeIgniter organization
PSR4
At App/Config/Autoload.php
, you can configure your custom namespace:
All versions of hmvc-shield with dependencies
codeigniter4/framework Version ^4.0
codeigniter4/shield Version dev-develop