Download the PHP package hamkamannan/adminigniter without Composer
On this page you can find all versions of the php package hamkamannan/adminigniter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hamkamannan/adminigniter
More information about hamkamannan/adminigniter
Files in hamkamannan/adminigniter
Package adminigniter
Short Description Complete Authentication and Authorization system for CodeIgniter4 HMVC with Premium Admin LTE
License MIT
Informations about the package adminigniter
Adminigniter
HMVC Module (CRUD) Generator with Complete Authentication and Authorization system for CodeIgniter4 comes with Admin LTE Template.
Feature
- Configurable backend theme Premium Admin LTE
- CSS framework Bootstrap 4
- Icons by Font Awesome 5
- Role-based permissions (RBAC)
- Dynamically-Generated Menu (Drag & Drop)
- Localized English / Indonesian
NOTE: This library was inspired from myth/auth and agungsugiarto/boilerplate
Please feel free to contribute!
Demo On mannan.id
Installation
1. Get The Module
NOTE: Since the myth/auth packages is still under development, we need to change composer.json in root project directory. Open composer.json with your text editor and add code like this, or below like this.
And run require via composer
2. Codeigniter Config
NOTE: Set up your CI_ENVIRONMENT, baseURL, index page, and database config in your
.env
. File based on your existing database (If you don't have a.env
file, you can copy first fromenv
file:cp env .env
first). If the database does not exist, create the database first.
3. Run publish
, migrate
, seed
NOTE: To publish
Database/Migration
,Database/Seed
,public/assets
,public/themes
,Libraries/DataTables
, and patch HMVCvendor/codeigniter4/framework/system/View/View.php
-
Run
php spark adminigniter:publish
-
Run
php spark migrate
- Run
php spark db:seed AdminigniterSeeder
4. Configuration (Auth, Filter, and Autoload)
NOTE: Everything about how to configure auth you can find add myth/auth
-
app/Config/Auth.php Open
app/Config/Auth.php
find$views, $passwordValidators and etc
and changes with these lines below: -
app/Config/Filters.php Open
app/Config/Filters.php
, find$aliases
and add these lines below: - app/Config/Autoload.php
Open
app/Config/Autoload.php
, find$psr4
and add these lines below:
5. Run Module Generator
NOTE: This provide command to create new module and clone available module (Dashboard, Report, Banner, Page).
-
Run
php spark module:create
Dummy -
Run
php spark module:clone
Page - Run
php spark migrate -n Adminigniter
6. Run development server:
NOTE: Running on port
8888
7. Open in browser http://localhost:8888/dummy
Usage
You can find how it works with the read code routes, controller and views etc.
Contributing
Contributions are very welcome.
License
This package is free software distributed under the terms of the MIT license.