PHPackages                             ibnsultan/mimosa - 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. ibnsultan/mimosa

ActiveProject[Framework](/categories/framework)

ibnsultan/mimosa
================

a minimalistic PHP+reactJS Combo

v0.1.1(2y ago)581MITPHP

Since Mar 5Pushed 2y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (4)Used By (0)

Mimosa
======

[](#mimosa)

A minimalist php + reactJS framework

It is designed to seamlessly integrate PHP and ReactJS without the need for complete separation between frontend and backend layers.

```
composer create-project ibnsultan/mimosa YOUR_PROJECT_NAME

```

Structure
---------

[](#structure)

```
📁 project/
├── 📁 app/
|   ├── 📁 console/
│   ├── 📁 controllers/
│   ├── 📁 lib/
│   ├── 📁 routes/
│   ├── 📁 views/
│   │   ├── 📁 ScreenName/
│   │   └── 📁 Layouts/
│   └── 🐘 Controller.php
├── 📁 config/
├── 📁 public/
│   └── 📄 index.php
├── 📁 vendor/
├── ⚙️ .env
├── ⚙️ .htaccess
├── 📎 composer.json
├── 🐘 index.php
└── 📄 mimic

```

Features
--------

[](#features)

- Exceptions and Error Handler
- HTTP Utils (Routing, Response, Requests)
- Autoloading
- Authorization &amp; Authentication (Beta)
    - Login and Registration
    - Session based authentication
    - Token Based authentication (For API request)
    - Pasword Reset Implentation
- Database
    - Models
    - Migrations

Basic Usage
-----------

[](#basic-usage)

Mimosa is insanely easy to use due to its simplistic and minimalistic design, it already comes in with some basic components implemented in it like routing, a way handle and render requests and responses respectively

Routing
-------

[](#routing)

All routes are preload in the `app/routes` directory thefore any file defined in routes would automatically be loaded into your application

Basic Routing

```
app->get('/', function(){
  echo 'hello world!';
});
```

Routing with a Class

```
app->get('/', 'MyController@index');
```

Response
--------

[](#response)

**Markup**

```
response()->markup('Hello');
```

**Json**

```
response()->json([
  'status' => 'success',
  'data' => 'Hello',
]);
```

**With Header**

```
response()->withHeader('key', 'value')->json([
  'status' => 'success',
  'data' => 'Hello',
]);
```

**Other Methods**

Responce comes with other methods like `plain`, `xml`, `page`, `download` [etc](https://github.com/ibnsultan/mimosa/wiki)

Request
-------

[](#request)

The request object provides an interface for accessing and manipulating the current HTTP request being handled by your application, as well as retrieving input, cookies, and files that were submitted with the request.

```
request()->get('key');
```

The request method in request works with all request methods, whether it's get, post or file, it can even get multiple values at once or even suplements a defualt when the value is null.

Multiple

```
$data = request()->get(['username', 'password']);

// results: array( 'username' => 'value', 'password' => 'value' )
```

Some other request methods include `file`, `param`, `try`, `rawData` etc

Documentation
-------------

[](#documentation)

More will be covered in the Documentation section which is still in preparation, keep your eyes on the [wiki section](https://github.com/ibnsultan/mimosa/wiki)

Contributions
-------------

[](#contributions)

Opinions, suggestion, pull requests, and anything of value

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

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

Total

3

Last Release

801d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d0992f23eaf8ac7ea61afd1fe4508a44fae78a1c4d78c151047aabb2b721486?d=identicon)[ibnsultan](/maintainers/ibnsultan)

---

Top Contributors

[![ibnsultan](https://avatars.githubusercontent.com/u/28471267?v=4)](https://github.com/ibnsultan "ibnsultan (127 commits)")

### Embed Badge

![Health badge](/badges/ibnsultan-mimosa/health.svg)

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

###  Alternatives

[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[forme/framework

An MVC framework for WordPress.

175.0k3](/packages/forme-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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