Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@stiggg
stiggg / gist:28d4d5554a59ffddfb54
Last active October 20, 2015 11:39
Nginx TLS configuration
server {
listen 80;
server_name www.example.com example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl default_server;
server_name www.example.com example.com;

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer