Skip to content

Instantly share code, notes, and snippets.

View albertomario's full-sized avatar
🏠
Working from home

Alberto Burlacu albertomario

🏠
Working from home
View GitHub Profile
@albertomario
albertomario / Router.php
Created September 16, 2016 18:29
router example
<?php
namespace Phasic\Core;
class Router {
private static $routes = array();
private function __construct() {}
private function __clone() {}
@albertomario
albertomario / Router.php
Created September 16, 2016 18:28
router example
class Router {
private static $routes = array();
private function __construct() {}
private function __clone() {}
public static function addRoute($routePattern, $callback)
SublimeLinter-php:
-----------------
SublimeLinter-php
-------------------------------
This linter plugin for SublimeLinter provides an interface to php -l.
** IMPORTANT! **
Before this plugin will activate, you *must*