{"id":19273799,"url":"https://github.com/delfimov/supernano","last_synced_at":"2025-08-09T10:32:45.394Z","repository":{"id":2458722,"uuid":"3430559","full_name":"delfimov/Supernano","owner":"delfimov","description":"Ultralightweigh lightspeed fast supersmallsize megadumb secure PHP framework.","archived":false,"fork":false,"pushed_at":"2017-08-17T09:25:17.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-05T14:25:53.493Z","etag":null,"topics":["easy-to-use","fast","framework","lightweight","php","php-framework","small","superfast"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delfimov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-13T14:17:51.000Z","updated_at":"2017-08-16T15:17:57.000Z","dependencies_parsed_at":"2022-08-21T06:10:14.959Z","dependency_job_id":null,"html_url":"https://github.com/delfimov/Supernano","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delfimov%2FSupernano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delfimov%2FSupernano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delfimov%2FSupernano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delfimov%2FSupernano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delfimov","download_url":"https://codeload.github.com/delfimov/Supernano/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240378872,"owners_count":19792039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["easy-to-use","fast","framework","lightweight","php","php-framework","small","superfast"],"created_at":"2024-11-09T20:44:09.484Z","updated_at":"2025-02-23T20:44:48.981Z","avatar_url":"https://github.com/delfimov.png","language":"PHP","readme":"[![Supernano](https://img.shields.io/badge/Super-nano-ff69f4.svg)](https://github.com/delfimov/Supernano)\n[![Latest Stable Version](https://poser.pugx.org/delfimov/supernano/v/stable)](https://packagist.org/packages/delfimov/supernano)\n[![Build Status](https://travis-ci.org/delfimov/Supernano.svg?branch=master)](https://travis-ci.org/delfimov/Supernano)\n[![StyleCI](https://styleci.io/repos/3430559/shield?style=flat\u0026branch=master)](https://styleci.io/repos/3430559)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/delfimov/GDImage/blob/master/LICENSE)\n\n# Supernano\n\nUltralightweight lightspeed fast supersmallsize\nunbelievable easy to use best in class PHP framework.\n\n## Requirements\n \n * [PHP \u003e= 5.4](http://www.php.net/) (though, I highly recommend to use PHP 7) \n * [Composer](https://getcomposer.org/download/)\n * [Nginx](https://nginx.ru) or [Apache](https://httpd.apache.org/) (mod_rewrite is required) or whatever web server you like. \n\n## Installation\n\n * Set up your web server\n * Run `composer create-project supernano/skeleton my_project_name`\n * See https://github.com/supernano/skeleton for more details  \n\n## How to use\n\n### Templates \n * Templates are stored in `tpl` directory\n * `tpl/super/layout.php` is a basic template for you web site\n * See `tpl/*` for examples.\n \n### Routing  \n\n * Template name without `.php` extension is a first part of URL-path. \n * Allowed template name is `/[a-z0-9_-]+/`.\n * Default template (requests with empty URL-path like ``http://www.example.com/`) is `tpl/index.php`.\n * If requested template is not exists, `tpl/super/error404.php` will be used insted (\"Error 404 - Page not found\" page).\n   \nLet's say we have a request like `http://www.example.com/whatever`.\n\nThis means template name is *whatever*, the framework will look for \n`tpl/whatever.php` and include it in `tpl/super/layout.php` file.\n \nIf `tpl/whatever.php` is not exists,  `tpl/super/error404.php` will be used.\n\nRequest `http://www.example.com/what/ever` will look for `tpl/what.php`, \nURL-path will be stored in `$this-\u003erequest` array (`[0 =\u003e 'ever']` in this case). \n\n\n### Advanced use\n\nIf you want to use this framework with dependencies, \nuse composer autoload and uncomment line #6 in `web/index.php`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelfimov%2Fsupernano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelfimov%2Fsupernano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelfimov%2Fsupernano/lists"}