PHPackages                             toknot/toknot - 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. toknot/toknot

ActiveLibrary[Framework](/categories/framework)

toknot/toknot
=============

A php framework

3.0(11y ago)36198New BSD LicensePHPPHP &gt;=5.3.0

Since Nov 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/chopins/toknot)[ Packagist](https://packagist.org/packages/toknot/toknot)[ Docs](http://toknot.com)[ RSS](/packages/toknot-toknot/feed)WikiDiscussions v6 Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

### About

[](#about)

ToKnot is a php framework

[![Latest Stable Version](https://camo.githubusercontent.com/e00f3f692bf297feb2f9fa80a9c7500f3f63438fa4842746ef181690bd5ae772/68747470733a2f2f706f7365722e707567782e6f72672f746f6b6e6f742f746f6b6e6f742f762f737461626c65)](https://packagist.org/packages/toknot/toknot)[![Latest Unstable Version](https://camo.githubusercontent.com/5a8701eb411e4a92cd490939c1f8d08440e88a2af1ca57e1481804e61c36a63b/68747470733a2f2f706f7365722e707567782e6f72672f746f6b6e6f742f746f6b6e6f742f762f756e737461626c65)](https://packagist.org/packages/toknot/toknot)[![License](https://camo.githubusercontent.com/48df2aec7a21d7d19f0577837666f2f0cb049120154f9177968fae7c30704a3c/68747470733a2f2f706f7365722e707567782e6f72672f746f6b6e6f742f746f6b6e6f742f6c6963656e7365)](https://packagist.org/packages/toknot/toknot)

### License

[](#license)

The PHP framework is under New BSD License ()

The demos is under GNU GPL version 3 or later

### Usage and Configure

[](#usage-and-configure)

On command line exec: `php vendor/toknot/initapp.php` App Init Guide build your app

On command line exec: `php app/tool/index.php` show tool app help message

在命令行中执行：`php vendor/toknot/initapp.php` 运行应用初始化向导，向导程序会创建应用基本目录及文件

在命令行中执行：`php app/tool/index.php` 显示tool应用帮助信息

- [Controller And Model usage](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/Controller-Model-Usage.md)
- [Main config](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/main-config-usage.md)
- [router config](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/route-config.md)
- [table config](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/table-config.md)
- [view document](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/view.md)
- [相关库 document](https://github.com/chopins/toknot/blob/master/vendor/toknot/doc/tool.md)

### Server Config

[](#server-config)

将所有请求都定向到index.php入口文件，以下是nginx与apache服务器配置方法

- nginx:

    ```
    location  / {
        root $dir/index.php;
    }

    ```
- apache:

    ```

        RewriteBase /
        RewriteRule .*  index.php
        RewriteEngine On

    ```
- PHP CLI Web Server:

    ```
    php -S 127.0.0.1:8000 index.php

    ```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~44 days

Total

5

Last Release

4017d ago

Major Versions

2.0.0 → 3.0-beta12015-03-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/3683f29364f9fba39ebd7e90377b67c28ca2497e01cefc19ebb40df6cda72ddb?d=identicon)[szopen](/maintainers/szopen)

---

Top Contributors

[![chopins](https://avatars.githubusercontent.com/u/1539465?v=4)](https://github.com/chopins "chopins (752 commits)")

---

Tags

frameworkrestfultoknot

### Embed Badge

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

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

###  Alternatives

[blink/blink

A high performance web framework and application server in PHP

83441.9k3](/packages/blink-blink)[anahita/anahita

Anahita Knowledge Networking Platform and Framework

4438.0k1](/packages/anahita-anahita)[phprest/phprest

PHP Rest Framework.

3049.3k](/packages/phprest-phprest)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1121.2k](/packages/abydahana-aksara)[kartenmacherei/rest-framework

Micro framework for creating RESTful webservices

1337.6k](/packages/kartenmacherei-rest-framework)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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