PHPackages                             nigaphp/niga - 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. nigaphp/niga

ActiveProject[Framework](/categories/framework)

nigaphp/niga
============

Niga framework

v1.6.6(4y ago)28144[2 issues](https://github.com/nigaphp/niga/issues)MITPHPPHP ^7.4|^8.0

Since Feb 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nigaphp/niga)[ Packagist](https://packagist.org/packages/nigaphp/niga)[ RSS](/packages/nigaphp-niga/feed)WikiDiscussions 2.x Synced 1mo ago

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

Niga Framework
==============

[](#niga-framework)

NigaPHP is a lightweight PHP web application framework designed to simplify and accelerate the development process for PHP developers. Initially created by [Abass Dev](https://abassdev.com), it is now maintained and contributed to by a community of developers.

Badges
------

[](#badges)

[![Packagist Version](https://camo.githubusercontent.com/b5b56abe4cc0450167a0792020c068b69fa34f67e0e2fd34c86f644969cf497c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6967617068702f6e6967612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nigaphp/niga)[![License](https://camo.githubusercontent.com/7123c32787e013be5a8a13598ad01f562754637ed6141e89b02e85bf16d3e63e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e7376673f7374796c653d666c61742d737175617265)](https://github.com/nigaphp/niga/blob/master/LICENSE)[![Pull Requests](https://camo.githubusercontent.com/fff40b18edacd213c61a26f544e10f4f8c12fa5de19adc180916b48a6f5170c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6e6967617068702f6e6967613f636f6c6f723d303038386666)](https://github.com/nigaphp/niga/pulls)[![Issues](https://camo.githubusercontent.com/3b5d8e36e2c342ae6d037f9b8429e864a315d8f38b90e87eee083d8be5ca4962/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6e6967617068702f6e6967613f636f6c6f723d303038386666)](https://github.com/nigaphp/niga/issues)

[![Niga Logo](https://github.com/nigaphp/niga/raw/2.x/public/images/niga.png)](https://github.com/nigaphp/niga/blob/2.x/public/images/niga.png)

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;= 8.0
- Composer &gt;= 2.0
- PDO
- XML
- ZIP
- MBSTRING

**Note:** The Niga framework is not yet production-ready.

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

[](#documentation)

[View Documentation Website](https://docs.nigaphp.abassdev.com/)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

```
composer create-project nigaphp/niga site_name
```

### Development Server

[](#development-server)

Change to your new website directory:

```
cd my-website
niga run:dev
```

Default values:

- HOST: localhost
- PORT: 8000
- PUBLIC\_PATH: public

Modify these in `%APP_ROOT%/config/app.json`

Access your site at

### Creating a Controller

[](#creating-a-controller)

```
niga make:controller HomeController
```

This creates:

1. `src/Controller/HomeController.php`

```
