PHPackages                             sushilk/codeigniter4-api - 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. sushilk/codeigniter4-api

ActiveLibrary[API Development](/categories/api)

sushilk/codeigniter4-api
========================

CodeIgniter 4 API

10CI passing

Since Jan 29Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/codebysushil/codeigniter4-api)[ Packagist](https://packagist.org/packages/sushilk/codeigniter4-api)[ RSS](/packages/sushilk-codeigniter4-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

codeigniter4-api
================

[](#codeigniter4-api)

CI-4: Basic API starter kit for CodeIgniter4.

[![Tests](https://github.com/codebysushil/Supabase/actions/workflows/tests.yml/badge.svg)](https://github.com/codebysushil/Supabase/actions/workflows/tests.yml)[![CodeQL](https://github.com/codebysushil/Supabase/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/codebysushil/Supabase/actions/workflows/github-code-scanning/codeql)[![Packagist Downloads](https://camo.githubusercontent.com/d78fd7f16a8b485611b0881f39d9eddb57d6dceffb6eb004c55ef30eca7d6984/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6f676f3d7061636b6167697374266c6162656c3d446f776e6c6f61647326636f6c6f723d626c7565)](https://camo.githubusercontent.com/d78fd7f16a8b485611b0881f39d9eddb57d6dceffb6eb004c55ef30eca7d6984/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6f676f3d7061636b6167697374266c6162656c3d446f776e6c6f61647326636f6c6f723d626c7565)[![Packagist Version](https://camo.githubusercontent.com/f458a74d140d30ff2dbcb5d5bbbac1721da9354f54edf274de765b08ea5cf6b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6f676f3d636f6d706f736572266c6f676f436f6c6f723d253233666666)](https://camo.githubusercontent.com/f458a74d140d30ff2dbcb5d5bbbac1721da9354f54edf274de765b08ea5cf6b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6f676f3d636f6d706f736572266c6f676f436f6c6f723d253233666666)[![Packagist Dependency Version](https://camo.githubusercontent.com/94fd0cb269689ed45f249463c48c1acb09d6b3bc300903ed7fee46b1783024ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f73757368696c6b2f636f646569676e69746572342d6170692f7068703f7374796c653d666c6174266c6f676f3d706870266c6f676f436f6c6f723d626c7565266c6162656c3d50485026636f6c6f723d626c7565)](https://camo.githubusercontent.com/94fd0cb269689ed45f249463c48c1acb09d6b3bc300903ed7fee46b1783024ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f73757368696c6b2f636f646569676e69746572342d6170692f7068703f7374796c653d666c6174266c6f676f3d706870266c6f676f436f6c6f723d626c7565266c6162656c3d50485026636f6c6f723d626c7565)[![Packagist License](https://camo.githubusercontent.com/dfb89b569f24cb5a220c63d17e9315d1539e88bb8f21200a50171ca082e9c833/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6162656c3d4c6963656e736526636f6c6f723d626c7565)](https://camo.githubusercontent.com/dfb89b569f24cb5a220c63d17e9315d1539e88bb8f21200a50171ca082e9c833/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73757368696c6b2f636f646569676e69746572342d6170693f7374796c653d666c6174266c6162656c3d4c6963656e736526636f6c6f723d626c7565)

---

### Install

[](#install)

```
composer require sushilk/codeigniter4-api
```

```
php spark make:api login
```

---

### Example

[](#example)

```
$routes->get('/api/login');
$routes->post('/api/register');
```

---

### License

[](#license)

**CodeIgniter4-API** was created by **[`Sushil Kumar`](https://github.com/CodeBySushil/)** under the **[`MIT License`](LICENSE)**. See [`LICENSE`](LICENSE) for more details.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance53

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/14ee8bc204856d2c784a628778d5ae25e5ef14052cce198ca3a7943574832260?d=identicon)[CodeWithSushil](/maintainers/CodeWithSushil)

---

Top Contributors

[![CodeWithSushil](https://avatars.githubusercontent.com/u/94827178?v=4)](https://github.com/CodeWithSushil "CodeWithSushil (20 commits)")

---

Tags

apicodeigniter-librarycodeigniter4restapirestful-api

### Embed Badge

![Health badge](/badges/sushilk-codeigniter4-api/health.svg)

```
[![Health](https://phpackages.com/badges/sushilk-codeigniter4-api/health.svg)](https://phpackages.com/packages/sushilk-codeigniter4-api)
```

###  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)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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