PHPackages                             nicojmb/ci4-inertia - 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. [API Development](/categories/api)
4. /
5. nicojmb/ci4-inertia

ActiveLibrary[API Development](/categories/api)

nicojmb/ci4-inertia
===================

Inertia server-side adapter for CodeIgniter 4

1.0.0(1y ago)258[3 PRs](https://github.com/nicojmb/ci4-inertia/pulls)MITPHPPHP &gt;=8.1CI passing

Since Mar 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/nicojmb/ci4-inertia)[ Packagist](https://packagist.org/packages/nicojmb/ci4-inertia)[ Docs](https://github.com/nicojmb/ci4-inertia)[ GitHub Sponsors](https://github.com/nicojmb)[ RSS](/packages/nicojmb-ci4-inertia/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

Inertia server-side adapter for CodeIgniter 4
=============================================

[](#inertia-server-side-adapter-for-codeigniter-4)

This code is updated with latest InertiaJS and PHP 8.+ Support. T

[![Latest Version on Packagist](https://camo.githubusercontent.com/dd8d7d00fae4863031f92f062d84d028dc69656bd3ab2af7a57d500a185c3b1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636f6a6d622f6369342d696e65727469612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicojmb/ci4-inertia)[![Tests](https://camo.githubusercontent.com/a603722d3658f1f187f252e1837bf4aef9fbeab9f11c5c18b49dda6bf5624b89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e69636f6a6d622f6369342d696e65727469612f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/nicojmb/ci4-inertia/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/34c965b39f53108f5cc7c74659d83eb8de9075ff03f5e225153f13d1f1fa67e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e69636f6a6d622f6369342d696e65727469612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nicojmb/ci4-inertia)

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

[](#installation)

You can install the package via composer:

```
composer require nicojmb/ci4-inertia
```

Example
-------

[](#example)

You can see it working in the Starter Kit project:

Testing
-------

[](#testing)

```
composer test
```

Roadmap
-------

[](#roadmap)

### Tests

[](#tests)

- Controller test
- Helper test. `inertia()` helper.
- Inertia headers test. An Inertia request should return an Inertia response (JSON response).
- Shared data test. It should be accesses in any response.
- Lazy props test.

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Amir Rami](https://github.com/amirami)
- [Nicolás Javier Martinez](https://github.com/nicojmb)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance71

Regular maintenance activity

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a1dc984669b399feb020ff8d76435d722a210d170cd44cb88bf5a124133afa9?d=identicon)[nicojmb](/maintainers/nicojmb)

---

Top Contributors

[![nicojmb](https://avatars.githubusercontent.com/u/5610392?v=4)](https://github.com/nicojmb "nicojmb (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

nicojmbci4-inertia

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nicojmb-ci4-inertia/health.svg)

```
[![Health](https://phpackages.com/badges/nicojmb-ci4-inertia/health.svg)](https://phpackages.com/packages/nicojmb-ci4-inertia)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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