PHPackages                             makechtec/nanokit - 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. makechtec/nanokit

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

makechtec/nanokit
=================

library for php proyects

06PHP

Since Sep 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/angeldomp49/nanokit-core)[ Packagist](https://packagist.org/packages/makechtec/nanokit)[ RSS](/packages/makechtec-nanokit/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Nanokit
=======

[](#nanokit)

This is a library open source it have simplies functionalities for develop an small web php application.

### requirements

[](#requirements)

First you need have installed php.

### get started

[](#get-started)

### 1. Register a route

[](#1-register-a-route)

Supposed you have php installed in the global environement, go to the **app/routes.php** file and register a new route to receive like:

```
`Route::get( 'home', [ HomeController::class, 'home' ] );`

```

the Route::get() function register a uri and bind this with the controller function passed as second parameter.

### 2. create a controller with his function

[](#2-create-a-controller-with-his-function)

Go to **src/Controllers** directory and create a new file with the controller class name like **HomeController**, then define a function that will be called when the registered uri is called. The namespace should be **App\\Controllers**.

```
`

### 4. start the development server.

[](#4-start-the-development-server)

Open a terminal and enter in your current directory, then use the next command:

`php composer.phar dump-autoload`

This command register all your class files created and remove the requirement of use **include()** function.

Then use:

`php -S localhost:8000 -t public/`

This command start a development server in the localhost with the 8000 port, the root directory called is inside public/.

you should see something like:

hello world

Uri's with parameters
---------------------

[](#uris-with-parameters)

For catch *GET* parameters you need register the route defining his names using **curly brackets**.

`Route::get( 'home/{user}/dashboard/{resource}' );`

In your controller you only need receive it like a function parameter.

`public function home( $user, $resource ){`

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/makechtec-nanokit/health.svg)

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

PHPackages © 2026

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