PHPackages                             jengo/base - 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. [Framework](/categories/framework)
4. /
5. jengo/base

ActiveLibrary[Framework](/categories/framework)

jengo/base
==========

Modern web development library for CodeIgniter 4 with Vite, modules, unified setups, and automated CLI installer.

v1.1.52(3w ago)01614MITPHP

Since Feb 8Pushed 5mo agoCompare

[ Source](https://github.com/lipex-org/jengo-base)[ Packagist](https://packagist.org/packages/jengo/base)[ RSS](/packages/jengo-base/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (11)Versions (69)Used By (4)

Jengo Base
==========

[](#jengo-base)

The core package for Jengo applications, providing essential utilities, installers, and structure for CodeIgniter 4 rapid development.

Features
--------

[](#features)

- **Rapid Setup**: Command-line installers for common stacks.
- **Frontend Integration**: Seamless support for modern frontend tools like Vite.
- **Helpers &amp; Utilities**: Specialized helpers for Jengo's architecture.

Installers
----------

[](#installers)

Jengo Base includes several installers to jumpstart your development.

### [Vite Installer](docs/installers/vite.md)

[](#vite-installer)

Sets up a complete Vite environment with optional Tailwind CSS support.

```
php spark jengo:install vite
```

### Blueprint Installer

[](#blueprint-installer)

Sets up the core UI architecture (Layouts, Partials, Home Page).

```
php spark jengo:install blueprint
```

### The Guardian (Health Check)

[](#the-guardian-health-check)

A diagnostic tool that ensures your application is correctly configured and healthy.

```
php spark jengo:health
```

### The Auditor (Security Check)

[](#the-auditor-security-check)

Audit your project for security misconfigurations and best practices.

```
php spark jengo:audit
```

### The Observer (Log Streamer)

[](#the-observer-log-streamer)

Stream your application logs in real-time with coloring and filtering.

```
php spark jengo:tail-log
```

### System Integration Hub

[](#system-integration-hub)

Connect your application to external ecosystems (Auth, SPA, API) through a unified wizard.

```
php spark jengo:setup
```

Or run a specific integration directly:

```
php spark jengo:setup auth
php spark jengo:setup inertia
php spark jengo:setup api
```

### Core Generators

[](#core-generators)

Jengo provides several generators to maintain a consistent architecture.

```
php spark jengo:make-action     # Generate a single-action class
php spark jengo:make-event      # Generate an event class
php spark jengo:make-layout     # Generate a UI layout
php spark jengo:make-page       # Generate a UI page
php spark jengo:make-repo       # Generate a repository
```

### The Vault (API Suite)

[](#the-vault-api-suite)

Provides a professional API foundation with JWT support and standardized JSON responses.

Once established, your application is equipped with a standard `APIController` and JWT authentication utilities.

### Modern Features: Controller Attributes

[](#modern-features-controller-attributes)

Jengo leverages CI4's new Controller Attributes to provide a declarative developer experience.

- **`#[API]`**: Apply this attribute to any class or method to automatically force JSON responses and wrap output in the standard Jengo structure.

🛠 Helpers &amp; Utilities
-------------------------

[](#-helpers--utilities)

Jengo Base provides several helper functions to simplify common tasks. Ensure the helper is loaded: `helper('jengo')`.

### UI Helpers

[](#ui-helpers)

- **`page(string $name, array $data = [])`**: Renders a view from `app/Views/pages/`.
- **`vite_tags()`**: Injects the necessary `` and `` tags for Vite entrypoints.

### Event System

[](#event-system)

- **`register_events(...$events)`**: Registers one or more `AbstractEvent` classes.
- **`trigger_event(string $event, ...$args)`**: Triggers a Jengo-style event.

### General Utilities

[](#general-utilities)

- **`model_of(string $model)`**: Returns a `ModelFacade` for fluent model interaction.
- **`isProduction()`, `isDevelopment()`, `isTesting()`**: Environment check shorthands.
- **`controller_url(string $controller, string $method, ...$args)`**: Type-safe URL generation for controllers.

⚙ Setup
-------

[](#-setup)

To register the Jengo helper in your application's `Autoload.php`:

```
php spark jengo:setup
```

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

[](#installation)

Install the package via Composer:

```
composer require jengo/base
```

Usage
-----

[](#usage)

Register the package in your CodeIgniter 4 application and use the provided `spark` commands.

```
php spark list
```

Look for the `jengo` namespace to see available commands.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance81

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~3 days

Total

61

Last Release

24d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a00939d7e5422a294a7b9b186f29116de3dca2d793453c8c58c0293bd2346b2?d=identicon)[gilads-otiannoh254](/maintainers/gilads-otiannoh254)

---

Top Contributors

[![gilads-otiannoh24](https://avatars.githubusercontent.com/u/180090128?v=4)](https://github.com/gilads-otiannoh24 "gilads-otiannoh24 (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jengo-base/health.svg)

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

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k17.3k100](/packages/elgg-elgg)[codeigniter4/appstarter

CodeIgniter4 starter app

1811.8M](/packages/codeigniter4-appstarter)[bowphp/framework

The bow PHP Framework

6018.0k14](/packages/bowphp-framework)[abydahana/aksara

Aksara is a modern, developer-friendly framework and CMS built on CodeIgniter 4, featuring rapid CRUD development, modular architecture, smart routing, flexible access control, API integration, and an AI assistant to make content management faster and smarter.

1141.2k](/packages/abydahana-aksara)[laravel/nova-devtool

Devtool for Laravel Nova Development

32724.3k205](/packages/laravel-nova-devtool)[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)

PHPackages © 2026

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