Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

saltandvinegarcrisps/nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nano

Nano size PHP 5.3.6+ framework

Hello world

app/routes.php

Route::get('/', function() {
	return 'Hello world';
});

Hooks before and after

Route::action('auth', function() {
	if(Auth::guest()) return Response::redirect('login');
});

Route::get('/', array('before' => 'auth', 'main' => function() {
	return 'Hello world';
}));

About

A really small php 5 boiler plate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published