PHPackages                             drewcking/nestphp - 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. drewcking/nestphp

ActiveLibrary[Framework](/categories/framework)

drewcking/nestphp
=================

A tiny, closure-based microframework for PHP 5.3+

v1.0.0(13y ago)424MITPHPPHP &gt;=5.3.0

Since Mar 7Pushed 13y ago3 watchersCompare

[ Source](https://github.com/drewcking/nestphp)[ Packagist](https://packagist.org/packages/drewcking/nestphp)[ Docs](http://github.com/drewcking/nestphp)[ RSS](/packages/drewcking-nestphp/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

NestPHP
=======

[](#nestphp)

Very small, procedural, closure-based microframework

Basic Usage
===========

[](#basic-usage)

The quickest way to use NestPHP is to place nest.php in your site's document root, e.g., `/var/www/html/`, then put the following in your `.htaccess` file or virtualhost container:

```
php_value auto_prepend_file /var/www/html/nest.php
```

To make sure it's working, create `index.php` with the following code:

```
