PHPackages                             julio101290/boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. julio101290/boilerplate

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

julio101290/boilerplate
=======================

CodeIgniter4 Boilerplate based on AdminLTE 3 with user management, roles, permissions, forked of agungsugiarto/boilerplate ...

v1.5.8(4w ago)162620MITPHPPHP ^7.3 || ^8.0

Since Jan 25Pushed 4w agoCompare

[ Source](https://github.com/julio101290/boilerplate)[ Packagist](https://packagist.org/packages/julio101290/boilerplate)[ Fund](https://cesarsystems.com.mx/)[ Fund](https://saweria.co/agungsugiarto)[ RSS](/packages/julio101290-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (20)Versions (39)Used By (20)

[![](https://camo.githubusercontent.com/c4c124da4379945eb2d2b59fe4929b555bcd03306845fd5c717f259efa221ff4/68747470733a2f2f706f7365722e707567782e6f72672f6a756c696f3130313239302f626f696c6572706c6174652f76657273696f6e)](https://packagist.org/packages/julio101290/boilerplate)[![](https://camo.githubusercontent.com/f44602b9e2abc2ef58b94d3951f2dcb5ac22fce5fed6a63d4f7fa0e6b5846c95/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b6167652d6a756c696f313031323930253246626f696c6572706c6174652d6c696768742e737667)](https://packagist.org/packages/julio101290/boilerplate)[![](https://camo.githubusercontent.com/473016be5779a8aa9f594db38bd252687fbcc4c28a658fdd3a5836e12cbeac27/68747470733a2f2f706f7365722e707567782e6f72672f6a756c696f3130313239302f626f696c6572706c6174652f646f776e6c6f616473)](https://packagist.org/packages/julio101290/boilerplate)[![](https://camo.githubusercontent.com/6b7c5918d1ce303e9212caa6f173f087fb55992f35d5726acff425ff08a2afa9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a756c696f3130313239302f626f696c6572706c617465)](https://github.com/julio101290/boilerplate/blob/master/LICENSE.md)

CodeIgniter 4 Application Boilerplate
=====================================

[](#codeigniter-4-application-boilerplate)

This package for CodeIgniter 4 serves as a basic platform for quickly creating a back-office application. It includes profile creation and management, user management, roles, permissions and a dynamically-generated menu.

Feature
-------

[](#feature)

- Configurable backend theme [AdminLTE 3](https://adminlte.io/docs/3.0/)
- CSS framework [Bootstrap 4](https://getbootstrap.com/)
- Icons by [Font Awesome 5](https://fontawesome.com/)
- Role-based permissions (RBAC) provided by [Myth/Auth](https://github.com/lonnieezell/myth-auth)
- Dynamically-Generated Menu
- Localized English / Indonesian / Spanish

This project is still early in its development... please feel free to contribute!

The original author is agungsugiarto/boilerplate , we only made a fork to adapt it to new needs such as translating it into Spanish and making it functional in xampp/lampp

[![Dashboard](.github/dashboard.png?raw=true)](.github/dashboard.png?raw=true)

---

---

Installation
------------

[](#installation)

**1.** Get The Module

```
composer require julio101290/boilerplate
```

**2.** Set 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 from `env` file: `cp env .env` first). If the database does not exist, create the database first.

```
# .env file
CI_ENVIRONMENT = development

app.baseURL = 'http://localhost:8080'
app.indexPage = ''

database.default.hostname = localhost
database.default.database = boilerplate
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
```

**3.** Run publish auth

```
php spark auth:publish

Publish Migration? [y, n]: y
  created: Database/Migrations/2017-11-20-223112_create_auth_tables.php
  Remember to run `spark migrate -all` to migrate the database.
Publish Models? [y, n]: n
Publish Entities? [y, n]: n
Publish Controller? [y, n]: n
Publish Views? [y, n]: n
Publish Filters? [y, n]: n
Publish Config file? [y, n]: y
  created: Config/Auth.php
Publish Language file? [y, n]: n
```

> NOTE: Everything about how to configure auth you can find add [Myth/Auth](https://github.com/lonnieezell/myth-auth).

Is it ready yet? Not so fast!! ;-) After publishing `Config/Auth.php` you need to change `public $views` with these lines below:

```
public $views = [
    'login'           => 'julio101290\boilerplate\Views\Authentication\login',
    'register'        => 'julio101290\boilerplate\Views\Authentication\register',
    'forgot'          => 'julio101290\boilerplate\Views\Authentication\forgot',
    'reset'           => 'julio101290\boilerplate\Views\Authentication\reset',
    'emailForgot'     => 'julio101290\boilerplate\Views\Authentication\emails\forgot',
    'emailActivation' => 'julio101290\boilerplate\Views\Authentication\emails\activation',
];
```

Open `app\Config\Filters.php`, find `$aliases` and add these lines below:

```
public $aliases = [
    'login'      => \Myth\Auth\Filters\LoginFilter::class,
    'role'       => \julio101290\boilerplate\Filters\RoleFilter::class,
    'permission' => \julio101290\boilerplate\Filters\PermissionFilter::class,
];
```

**4.** Run publish, migrate and seed boilerplate

```
php spark boilerplate:install
```

Open `app\Config\validation.php`, find `$ruleSets` and add these lines below:

```
public $$ruleSets = [
    \Myth\Auth\Authentication\Passwords\ValidationRules::class,
];
```

Open `app\entities\Users.php`, find `$casts` and add these lines below:

```
    protected $casts = [
        'username' => 'string',
        'email' => 'string',
        'firstname' => 'string',
        'lastname' => 'string',
        'active' => 'boolean',
        'force_pass_reset' => 'boolean',
    ];
```

**5.** Run development server:

```
php spark serve
```

**6.** Open in browser

```
Default user and password
+----+--------+-------------+
| No | User   | Password    |
+----+--------+-------------+
| 1  | admin  | super-admin |
| 2  | user   | super-user  |
+----+--------+-------------+
```

Settings
--------

[](#settings)

Config Boilerplate

You can configure default dashboard controller and backend theme in `app\Config\Boilerplate.php`,

```
class Boilerplate extends BaseConfig
{
    public $appName = 'Boilerplate';

    public $dashboard = [
        'namespace'  => 'julio101290\boilerplate\Controllers',
        'controller' => 'DashboardController::index',
        'filter'     => 'permission:back-office',
    ];
// App/Config/Boilerplate.php
```

Usage
-----

[](#usage)

You can find how it works with the read code routes, controller and views etc. Finnally... Happy Coding!

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Contributions are very welcome.

License
-------

[](#license)

This package is free software distributed under the terms of the [MIT license](LICENSE.md).

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance94

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~25 days

Total

38

Last Release

29d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10ce1471ebd6b863d30d635f15b7a60149aa69d59639725b30a02b30d685e817?d=identicon)[julio101290](/maintainers/julio101290)

---

Top Contributors

[![agungsugiarto](https://avatars.githubusercontent.com/u/10989147?v=4)](https://github.com/agungsugiarto "agungsugiarto (235 commits)")[![julio101290](https://avatars.githubusercontent.com/u/11257577?v=4)](https://github.com/julio101290 "julio101290 (30 commits)")[![rubensrocha](https://avatars.githubusercontent.com/u/10297656?v=4)](https://github.com/rubensrocha "rubensrocha (17 commits)")[![chrisastley](https://avatars.githubusercontent.com/u/400344?v=4)](https://github.com/chrisastley "chrisastley (1 commits)")

---

Tags

Authenticationauthorizationboilerplatecodeigniter4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/julio101290-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/julio101290-boilerplate/health.svg)](https://phpackages.com/packages/julio101290-boilerplate)
```

###  Alternatives

[agungsugiarto/boilerplate

CodeIgniter4 Boilerplate based on AdminLTE 3 with user management, roles, permissions, ...

1658.0k](/packages/agungsugiarto-boilerplate)[codeigniter4/shield

Authentication and Authorization for CodeIgniter 4

422436.1k28](/packages/codeigniter4-shield)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
