PHPackages                             maketok/site - 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. maketok/site

AbandonedLibrary[Framework](/categories/framework)

maketok/site
============

Maketok site framework

0.9.0-alpha(11y ago)07[4 issues](https://github.com/SlayerBirden/site/issues)MITPHPPHP &gt;=5.4.0

Since Feb 1Pushed 11y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (18)Versions (3)Used By (0)

Maketok site application
------------------------

[](#maketok-site-application)

master [![Build Status](https://camo.githubusercontent.com/6b8ee7562536c2eb40b7bc9342e29dc90adc947dc6416d6fe881ea16bb229ddb/68747470733a2f2f7472617669732d63692e6f72672f536c6179657242697264656e2f736974652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SlayerBirden/site)[![SensioLabsInsight](https://camo.githubusercontent.com/e4955c3276e0ea91cc8434252d17c7c547bdb6132643bf67c601a93e8739ece6/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34656462663163392d613466662d346538662d383638662d3035613232616634333464382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/4edbf1c9-a4ff-4e8f-868f-05a22af434d8)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/27b03872640692f04655077750632316bb9af5e241979f6be11af77bae2731ed/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f536c6179657242697264656e2f736974652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SlayerBirden/site/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/d1f801701ec5ff83ae3942ea488fbf74252e943d09f480abc9784f098c5405d9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f536c6179657242697264656e2f736974652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SlayerBirden/site/?branch=master)[![Latest Unstable Version](https://camo.githubusercontent.com/8cba9025a5bbbbc1ab1d4852273cd16765e13481f3bb3222dac1ad5b0b153013/68747470733a2f2f706f7365722e707567782e6f72672f6d616b65746f6b2f736974652f762f756e737461626c652e737667)](https://packagist.org/packages/maketok/site)[![License](https://camo.githubusercontent.com/ee015b8d06b67bd8ddc5559de122a24d3806d301fcdcc0a429b44a8181ddd563/68747470733a2f2f706f7365722e707567782e6f72672f6d616b65746f6b2f736974652f6c6963656e73652e737667)](https://packagist.org/packages/maketok/site)

dev [![Build Status](https://camo.githubusercontent.com/288b28ea58a652002443b76a4c0aa312bade6f2125b2c2c0e48d821f1684cc82/68747470733a2f2f7472617669732d63692e6f72672f536c6179657242697264656e2f736974652e7376673f6272616e63683d646576)](https://travis-ci.org/SlayerBirden/site)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/db603dd39697d650154223c3eed9cb1e7a400dcf51d2322328752380f192d8c0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f536c6179657242697264656e2f736974652f6261646765732f7175616c6974792d73636f72652e706e673f623d646576)](https://scrutinizer-ci.com/g/SlayerBirden/site/?branch=dev)[![Code Coverage](https://camo.githubusercontent.com/68035c30db6d610b4dc9d54f86fce3d8bb632e515d486ce795509137c25019cf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f536c6179657242697264656e2f736974652f6261646765732f636f7665726167652e706e673f623d646576)](https://scrutinizer-ci.com/g/SlayerBirden/site/?branch=dev)

About
-----

[](#about)

A package is aimed to provide a simple platform for site developer. It includes independent components (bundles) from major vendors to handle low level operations.

This should be considered experimental until any stable release is out. So I wouldn't recommend it for any production instance.

App code is bundled in Maketok namespace and consists of major areas:

- **SubjectManager**. The most standard implementation.
- **Installer**. Consists of DDL and Data parts.
    - **DDL**. This is component gathers Data Structure map across all subscribers (clients) and creates appropriate directives for concrete Data Storage. It also handles conflicts and dependencies across clients.
    - **Data**. The Data part is not yet implemented. I should handle clients that update data inside the built Structure.
- **MVC** (Front Controller). Provides routing and helper classes for controllers.
- Few small **Util** classes
    - **StreamHandler** - basic IO operations with files
    - **DirectoryHandler** - basic IO operations with directories
    - **ExpressionParser** - parse variables in curly brackets
    - **ClosureComparer** - compare closures
    - **CallableHash** - gets static hash of any callable
    - **ArrayValueTrait** - safely gets the value from an array by key
    - **ConfigGetter** - loads PHP and YAML configs in given paths
    - **PriorityQueue** - wrapper around SPL \\PriorityQueue to provide removal functional

This app is distributed under MIT licence, and anyone can use it for his (or her) needs as he sees fit. I'm not providing any means of warranty, and may or may not address any issues programmatic or of any other sort that are connected with or caused by the software.

Tech
----

[](#tech)

Includes next major components from vendors:

- zend-db (zf 2.\*) for database connection/model handling
- monolog (~1.0) for logging
- symfony/http-foundation (2.\*) for http request handling
- symfony/dependency-injection (2.\*) for ioc container
- symfony/form (2.\*) for creating forms
- twig (~1) for templating

License
-------

[](#license)

[MIT](http://opensource.org/licenses/MIT)

Install
-------

[](#install)

1. Checkout the repo - for example `git clone
2. If you don't have composer installed:

- `curl -sS https://getcomposer.org/installer | php`
- `sudo mv composer.phar /usr/bin/composer`

3. Install dependencies:

- `composer install`

4. Run setup:

- `php setup.php`
- You can specify next options:
    - webserver
    - db\_user, default root
    - db\_passw, default empty string
    - db\_host, default localhost
    - db\_database, default maketok
    - db\_driver, default pdo\_mysql
    - base\_url
    - admin\_url
    - admin\_user\_username
    - admin\_user\_password
    - admin\_user\_firsname
    - admin\_user\_lastname
- For example: `php setup.php --webserver=apache --db_user=root --db_host=localhost --db_database=test --base_url=http://test.com`
- Any of the parameters that are omitted will be prompted by Stdin provider.

Example Nginx Configuration
---------------------------

[](#example-nginx-configuration)

```

server {

    listen	80;
    listen	443 ssl;

    ssl_certificate /PATH/TO/CERTS/server.crt;
    ssl_certificate_key /PATH/TO/CERTS/server.key;

    server_name SERVER_NAME;

    index index.php index.html index.htm;
    set $root_path '/PATH/TO/MAKETOK/ROOT/public';
    root $root_path;

    try_files $uri $uri/ @rewrite;

    location /admin {
        rewrite ^/(.*)$ /admin/index.php?_url=/$1 last;
    }

    location @rewrite {
        rewrite ^/(.*)$ /index.php?_url=/$1;
    }

    location ~ \.php {
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index /index.php;
        fastcgi_read_timeout 86400;

        include /etc/nginx/fastcgi_params;

        fastcgi_split_path_info       ^(.+\.php)(/.+)$;
        fastcgi_param PATH_INFO       $fastcgi_path_info;
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {
        root $root_path;
    }

    location ~ /\.ht {
        deny all;
    }
}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.1% 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

4124d ago

### Community

Maintainers

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

---

Top Contributors

[![SlayerBirden](https://avatars.githubusercontent.com/u/1726160?v=4)](https://github.com/SlayerBirden "SlayerBirden (415 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (5 commits)")[![rhift](https://avatars.githubusercontent.com/u/1008958?v=4)](https://github.com/rhift "rhift (3 commits)")

---

Tags

phpframeworkcmssitemaketok

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)

PHPackages © 2026

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