2017 © Pedro Peláez
 

library supernano

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework.

image

delfimov/supernano

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework.

  • Wednesday, August 16, 2017
  • by elfimov
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Supernano Latest Stable Version Build Status StyleCI License, (*1)

Supernano

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework., (*2)

Requirements

Installation

  • Set up your web server
  • Run composer create-project supernano/skeleton my_project_name
  • See https://github.com/supernano/skeleton for more details

How to use

Templates

  • Templates are stored in tpl directory
  • tpl/super/layout.php is a basic template for you web site
  • See tpl/* for examples.

Routing

  • Template name without .php extension is a first part of URL-path.
  • Allowed template name is /[a-z0-9_-]+/.
  • Default template (requests with empty URL-path like ``http://www.example.com/) istpl/index.php`.
  • If requested template is not exists, tpl/super/error404.php will be used insted ("Error 404 - Page not found" page).

Let's say we have a request like http://www.example.com/whatever., (*3)

This means template name is whatever, the framework will look for tpl/whatever.php and include it in tpl/super/layout.php file., (*4)

If tpl/whatever.php is not exists, tpl/super/error404.php will be used., (*5)

Request http://www.example.com/what/ever will look for tpl/what.php, URL-path will be stored in $this->request array ([0 => 'ever'] in this case)., (*6)

Advanced use

If you want to use this framework with dependencies, use composer autoload and uncomment line #6 in web/index.php., (*7)

The Versions

16/08 2017

dev-master

9999999-dev https://github.com/delfimov/supernano/

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Dmitry Elfimov

framework php simple basic easy to use

16/08 2017

v2.0.1

2.0.1.0 https://github.com/delfimov/supernano/

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Dmitry Elfimov

framework php simple basic easy to use

16/08 2017

v2.0.0

2.0.0.0 https://github.com/delfimov/gdimage/

Ultralightweight lightspeed fast supersmallsize unbelievable easy to use best in class PHP framework.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Dmitry Elfimov

framework php simple basic easy to use