PHPackages                             nixphp/app - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nixphp/app

ActiveProject[Utility &amp; Helpers](/categories/utility)

nixphp/app
==========

Starter app for your project when using NixPHP

v0.1.0(2mo ago)04MITPHPPHP &gt;=8.3

Since Mar 18Pushed 2mo ago1 watchersCompare

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

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

NixPHP App
==========

[](#nixphp-app)

A clean starting point for building applications with [NixPHP](https://github.com/nixphp/framework) — the minimal and flexible PHP microframework.

> **"As simple as possible, as flexible as necessary."**

---

🚀 Installation
--------------

[](#-installation)

```
composer create-project nixphp/app my-app
```

Alternatively, clone the repo manually:

```
git clone https://github.com/nixphp/app my-app
cd my-app
composer install
```

Make sure your webserver points to the `/public` directory as document root.

---

🧰 Requirements
--------------

[](#-requirements)

- PHP 8.3+
- Composer
- A webserver (e.g. Apache, nginx, or PHP’s built-in server)

---

🗂️ Project Structure
--------------------

[](#️-project-structure)

```
/app
  /Controllers
  /Models
  /views
  config.php
  routes.php
/public
  index.php
bootstrap.php
composer.json

```

- `app/` contains your application logic
- `public/` is the webroot
- `bootstrap.php` initializes the app
- `config.php` holds your app configuration
- `routes.php` contains all the routes

---

🛠️ First Steps
--------------

[](#️-first-steps)

1. Define your first route in `app/routes.php`:

```
route()->add('GET', '/', [App\Controllers\HomeController::class, 'index']);
```

2. Create a controller in `app/controllers/HomeController.php`:

```
namespace App\Controllers;

use function NixPHP\render;

class HomeController
{
    public function index()
    {
        return render('home', ['name' => 'World']);
    }
}
```

3. Create a view in `app/views/home.phtml`:

```

Hello, !
```

---

📦 About NixPHP
--------------

[](#-about-nixphp)

This app skeleton is based on the [NixPHP microframework](https://github.com/nixphp/framework).
It’s designed to give you a clean starting point — nothing more, nothing less.

To learn more about NixPHP and its philosophy, check out the [main documentation](https://nixphp.github.io/docs/).

---

🪪 License
---------

[](#-license)

MIT License. See [LICENSE](LICENSE) for details.

---

Ready to build something awesome?
Start hacking with **NixPHP**. 🚀

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance88

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

Unknown

Total

1

Last Release

61d ago

### Community

Maintainers

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

---

Top Contributors

[![FloKnapp](https://avatars.githubusercontent.com/u/3774820?v=4)](https://github.com/FloKnapp "FloKnapp (22 commits)")

---

Tags

frameworkframework-phplightweightnixphpphpphp8starter-kitstarter-projectstarter-templatewebapp

### Embed Badge

![Health badge](/badges/nixphp-app/health.svg)

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

###  Alternatives

[vonage/nexmo-bridge

Provides a bridge for using the Vonage PHP SDK with the older Nexmo namespace

5310.3M3](/packages/vonage-nexmo-bridge)[mediawiki/chameleon-skin

A highly flexible MediaWiki skin using Bootstrap 4

12481.8k2](/packages/mediawiki-chameleon-skin)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[aeon-php/calendar-holidays

Holidays calendar abstraction layer for Aeon Time management framework

14212.4k3](/packages/aeon-php-calendar-holidays)

PHPackages © 2026

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