PHPackages                             toolmao/nearphp - 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. [Templating &amp; Views](/categories/templating)
4. /
5. toolmao/nearphp

ActiveLibrary[Templating &amp; Views](/categories/templating)

toolmao/nearphp
===============

Simple PHP Functional combination.

1.0.0(7y ago)013MITPHPPHP &gt;=5.3.3

Since Jul 17Pushed 7y agoCompare

[ Source](https://github.com/toolmao/nearphp)[ Packagist](https://packagist.org/packages/toolmao/nearphp)[ Docs](https://github.com/toolmao/nearphp)[ RSS](/packages/toolmao-nearphp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Nearphp
=======

[](#nearphp)

Nearphp is a simple, open source PHP Functional combination. Include Router / Template .

### Install

[](#install)

If you have Composer, just include Nearphp as a project dependency in your `composer.json`. If you don't just install it by downloading the .ZIP file and extracting it to your project directory.

```
require: {
    "toolmao/nearphp": "dev-master"
}

```

### Examples

[](#examples)

This is with Nearphp installed via composer.

composer.json:

```
{
   "require": {
        "toolmao/nearphp": "dev-master"
    },
    "autoload": {
        "psr-4": {
            "" : ""
        }
    }
}

```

.htaccess(Apache):

```
RewriteEngine On
RewriteBase /

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?$1 [QSA,L]

```

.htaccess(Nginx):

```
rewrite ^/(.*)/$ /$1 redirect;

if (!-e $request_filename){
	rewrite ^(.*)$ /index.php break;
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

2853d ago

### Community

Maintainers

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

---

Top Contributors

[![toolmao](https://avatars.githubusercontent.com/u/6861829?v=4)](https://github.com/toolmao "toolmao (5 commits)")

---

Tags

phproutertemplate

### Embed Badge

![Health badge](/badges/toolmao-nearphp/health.svg)

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

###  Alternatives

[alhimik1986/php-excel-templator

PHP Spreadsheet extension for generating excel files from template

350336.7k1](/packages/alhimik1986-php-excel-templator)

PHPackages © 2026

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