PHPackages                             shafiul-islam/nmvc - 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. shafiul-islam/nmvc

ActiveLibrary

shafiul-islam/nmvc
==================

1.04(3y ago)28[1 issues](https://github.com/ishafiul/nmvc/issues)PHP

Since Sep 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ishafiul/nmvc)[ Packagist](https://packagist.org/packages/shafiul-islam/nmvc)[ RSS](/packages/shafiul-islam-nmvc/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

NMVC
====

[](#nmvc)

NMVC is a PHP base MVC framework

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

[](#installation)

The NMVC can be installed with [Composer](https://getcomposer.org/).

```
composer create-project shafiul-islam/nmvc
```

Run Your Project
----------------

[](#run-your-project)

By using [PHP Built-in web server](https://www.php.net/manual/en/features.commandline.webserver.php) you can run your project easily

```
composer serve
```

you can change the port if you need

Directory Structure
-------------------

[](#directory-structure)

```
nmvc
│   README.md
│   file001.txt
│
└───app
│   │   bootstrap.php
│   │
│   └───components
│   └───config
│   └───core
│   └───models
│   └───routes
│   └───views
│
└───public
│   │
│   └───index.php
│
│
└───resource

```

The Basics
----------

[](#the-basics)

### Routing

[](#routing)

All route files are defined in `app/routes` directory

#### Web Routing

[](#web-routing)

`routes/web.php` used for defines routes for application's interface.

here is a basic structure of web.php

```
