A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
| #!/bin/bash | |
| # Put this file at: .git/hooks/post-checkout | |
| # and make it executable | |
| # You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
| PREV_COMMIT=$1 | |
| POST_COMMIT=$2 | |
| NOCOLOR='\e[0m' |
| <?php | |
| namespace Rj\CoreBundle\OAuth; | |
| /** | |
| * Copyright (c) 2010 Arnaud Le Blanc, all rights reserved | |
| */ | |
| /** | |
| * Facebook OAuth 2.0 client | |
| */ |
| <?php | |
| namespace Ibms\Helper; | |
| use Symfony\Bundle\FrameworkBundle\Templating\GlobalVariables as BaseGlobalVariables; | |
| use Symfony\Component\DependencyInjection\ContainerInterface; | |
| use DateTime; | |
| class GlobalVariables extends BaseGlobalVariables | |
| { |
| <?php | |
| /** | |
| * This file is part of the Infinite Helper Library | |
| * | |
| * (c) Infinite Networks Pty Ltd <http://www.infinite.net.au> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ |
A list of amazingly awesome PHP libraries, resources and shiny things.
Videos from the conference will be available some day via the SensioLabs YouTube page: http://www.youtube.com/user/SensioLabs
Lightning Talk - Cryptography for Lexical Analysis of OAuth 3.0 Protocols with UML Diagrams and Agile Design Patterns in the Silex Micro-framework
Jeremy Mikola
Video: http://www.youtube.com/watch?v=AiiNB0Y8SVI
Getting Good with the AWS SDK for PHP
Jeremy Lindblom
| <?php | |
| $app->get('/user/{user}', ...) | |
| ->convert('user', function ($user) use ($db) { | |
| return $db->find('user', $user); | |
| }) | |
| $app->get('/user/{user}', ...) | |
| ->setDefault('user', function ($user) use ($db) { | |
| return $db->find('user', $user); |
| # Setting up a local solr instance on a mac | |
| # install solr with homebrew | |
| brew install solr | |
| # create the base solr index directory | |
| mkdir -p /data/solr | |
| # make sure you can write to the solr logs | |
| sudo chown -R `whoami` /usr/local/Cellar/solr/ |
| <?php | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| require_once __DIR__ . '/vendor/autoload.php'; | |
| class User { | |
| public $Username; | |
| public $Email; |
| [mysql] | |
| port = 3306 | |
| socket = /usr/local/var/run/mysql.sock | |
| [mysqld] | |
| #user = mysql | |
| default_storage_engine = InnoDB | |
| socket = /usr/local/var/run/mysql.sock | |
| pid_file = /usr/local/var/run/mysql.pid |