PHPackages                             julianeffendi/eofficeboilerplate - 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. julianeffendi/eofficeboilerplate

ActiveProject

julianeffendi/eofficeboilerplate
================================

Boilerplate for eoffice

v0.2(3y ago)011MITPHP

Since Jan 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/JulianEffendi/eofficeboilerplate)[ Packagist](https://packagist.org/packages/julianeffendi/eofficeboilerplate)[ RSS](/packages/julianeffendi-eofficeboilerplate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

[![](https://camo.githubusercontent.com/cabbae02789d30ec1dddabd04cb82763433814de353a884825ed69a810bd2721/68747470733a2f2f636f646569676e697465722e636f6d2f6173736574732f696d616765732f636f646569676e69746572346c6f676f2e706e67)](https://camo.githubusercontent.com/cabbae02789d30ec1dddabd04cb82763433814de353a884825ed69a810bd2721/68747470733a2f2f636f646569676e697465722e636f6d2f6173736574732f696d616765732f636f646569676e69746572346c6f676f2e706e67)

[![](https://camo.githubusercontent.com/457aab371b8ab6fde3528a2928b7e867e0c40355eab623e98ea2a0b307427224/68747470733a2f2f706f7365722e707567782e6f72672f6167756e67737567696172746f2f626f696c6572706c6174652f76657273696f6e)](https://packagist.org/packages/agungsugiarto/boilerplate)[![](https://camo.githubusercontent.com/74dc5064f3d338e6e92fc56242874d418c63f54cb901edf06046a04d4fb7043c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b6167652d6167756e67737567696172746f253246626f696c6572706c6174652d6c696768742e737667)](https://packagist.org/packages/agungsugiarto/boilerplate)[![](https://camo.githubusercontent.com/6c0b7cf936e169d5262db50b299b1f409d3df198e14f4fbd5e6f6e6217f0b884/68747470733a2f2f706f7365722e707567782e6f72672f6167756e67737567696172746f2f626f696c6572706c6174652f646f776e6c6f616473)](https://packagist.org/packages/agungsugiarto/boilerplate)[![](https://camo.githubusercontent.com/170ab37885a952904069c56bc835d971fb884bd06d3fdccb46dfe8df842e64b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6167756e67737567696172746f2f626f696c6572706c617465)](https://github.com/agungsugiarto/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

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

[](#this-project-is-still-early-in-its-development-please-feel-free-to-contribute)

Screenshoot | Demo On [Heroku](https://boilerplate-codeigniter4.herokuapp.com/)
-------------------------------------------------------------------------------

[](#screenshoot--demo-on-heroku)

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

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

[](#installation)

**1.** Get The Module

```
composer require agungsugiarto/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'           => 'julianeffendi\eofficeboilerplate\Views\Authentication\login',
    'register'        => 'julianeffendi\eofficeboilerplate\Views\Authentication\register',
    'forgot'          => 'julianeffendi\eofficeboilerplate\Views\Authentication\forgot',
    'reset'           => 'julianeffendi\eofficeboilerplate\Views\Authentication\reset',
    'emailForgot'     => 'julianeffendi\eofficeboilerplate\Views\Authentication\emails\forgot',
    'emailActivation' => 'julianeffendi\eofficeboilerplate\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'       => \julianeffendi\eofficeboilerplate\Filters\RoleFilter::class,
    'permission' => \julianeffendi\eofficeboilerplate\Filters\PermissionFilter::class,
];
```

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

```
php spark boilerplate:install
```

**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'  => 'julianeffendi\eofficeboilerplate\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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce22d143c326086f3e28c44361002a49fa34c8b29878891fa651935a58e886f2?d=identicon)[JulianEffendi](/maintainers/JulianEffendi)

---

Top Contributors

[![JulianEffendi](https://avatars.githubusercontent.com/u/45588920?v=4)](https://github.com/JulianEffendi "JulianEffendi (2 commits)")

### Embed Badge

![Health badge](/badges/julianeffendi-eofficeboilerplate/health.svg)

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

PHPackages © 2026

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