# Awesome PHP Libraries A list of amazingly awesome PHP libraries that you should be using: * [Composer](http://getcomposer.org/)/[Packagist](http://packagist.org/) - A package and dependency manager. * [Symfony2](http://symfony.com/) - A framework comprised of individual components. * [Zend Framework 2](https://github.com/zendframework/zf2) - Another framework comprised of individual components. * [Symfony2 Components](https://github.com/symfony) - The components that make Symfony2. * [Aura Components](http://auraphp.github.com/) - A package of PHP 5.4 components. * [Illuminate Components](https://github.com/illuminate) - The components that make the upcoming Laravel 4 framework. * [Silex](http://silex.sensiolabs.org/) - A micro framework built around Symfony2 components. * [Slim](http://www.slimframework.com/) - Another simple micro framework. * [Twig](http://twig.sensiolabs.org/) - A comprehensive templating language. * [MtHaml](https://github.com/arnaud-lb/MtHaml) - A PHP implementation of the HAML template language. * [SwiftMailer](http://swiftmailer.org/) - A mailer solution. * [Pimple](http://pimple.sensiolabs.org/) - A tiny dependency injection container. * [Auryn](https://github.com/rdlowrey/Auryn) - Another dependency injection container. * [Doctrine](http://www.doctrine-project.org/) - A comprehensive DBAL and ORM. * [Doctrine Migrations](http://docs.doctrine-project.org/projects/doctrine-migrations/en/latest/toc.html) - A migration library for Doctrine. * [Propel](http://www.propelorm.org/) - A fast ORM. * [Goutte](https://github.com/fabpot/Goutte) - A simple web scraper. * [Assetic](https://github.com/kriswallsmith/assetic) - An asset manager pipeline library. * [Pipe](https://github.com/CHH/pipe) - Another asset manager pipeline library. * [Imagine](http://imagine.readthedocs.org/en/latest/index.html) - An image manipulation library. * [PHP Image Workshop](https://github.com/Sybio/ImageWorkshop) - Another image manipulation library. * [GIF Frame Extractor](https://github.com/Sybio/GifFrameExtractor) - A library to extract GIF animation frame information. * [GIF Creator](https://github.com/Sybio/GifCreator) - A library to create GIF animations from multiple images. * [Monolog](https://github.com/Seldaek/monolog) - A comprehensive logger. * [Behat](http://behat.org/) - A Behaviour Driven Development framework. * [Mink](http://mink.behat.org/) - Web acceptance testing. * [Buzz](https://github.com/kriswallsmith/Buzz) - A HTTP client. * [Guzzle](http://guzzlephp.org/) - Another HTTP client. * [PHPUnit](https://github.com/sebastianbergmann/phpunit) - A unit testing framework. * [RunkitTestCase](https://github.com/kherge/RunkitTestCase) - A library for creating PHPUnit test cases that use runkit. * [PHPSpec](https://github.com/phpspec/phpspec2) - A design by specification unit testing library. * [Mockery](https://github.com/padraic/mockery) - A mock object library for unit testing. * [Phake](https://github.com/mlively/Phake) - Another mock object library for unit testing. * [KnpMenu](https://github.com/KnpLabs/KnpMenu) - A menu library. * [Gaufrette](https://github.com/KnpLabs/Gaufrette) - A filesystem abstraction layer. * [Snappy](https://github.com/KnpLabs/snappy) - A PDF and image generation library (uses [WKHTMLToPDF](https://github.com/antialize/wkhtmltopdf)). * [Pagerfanta](https://github.com/whiteoctober/Pagerfanta) - A pagination library. * [GeoCoder](http://geocoder-php.org/) - A geocoding library. * [Faker](https://github.com/fzaninotto/Faker) - A fake data generator library. * [Spork](https://github.com/kriswallsmith/spork) - A process forking library. * [HTML Purifier](https://github.com/ezyang/htmlpurifier) - A standards compliant HTML filter. * [React](https://github.com/react-php/react) - An event driven non-blocking I/O library. * [Événement](https://github.com/igorw/evenement) - An event dispatcher library. * [FuelPHP Event](https://github.com/fuelphp/event) - Another event dispatcher library. * [Sami](https://github.com/fabpot/Sami) - An API documentation generator. * [Bob](https://github.com/CHH/bob) - A simple project automation tool. * [Phake](https://github.com/jaz303/phake) - A rake PHP clone library. * [JSON Lint](https://github.com/Seldaek/jsonlint) - A JSON lint utility. * [PHPAss](http://www.openwall.com/phpass/) - A portable password hashing framework. * [PHPSecLib](http://phpseclib.sourceforge.net/) - A pure PHP secure communications library. * [Box](https://github.com/kherge/Box) - A utility to build PHAR files. * [Wisdom](https://github.com/kherge/Wisdom) - A library for loading config data. * [GetOpt](ulrichsg/getopt-php) - A command line opt parser. * [OptParse](https://github.com/CHH/optparse) - Another command line opt parser. * [Commando](https://github.com/nategood/commando) - Another simple command line opt parser. * [TCrypto](https://github.com/timoh6/TCrypto) - A simple encrypted key-value storage library. * [Tala Payments](https://github.com/adrianmacneil/tala-payments) - A payment processing library. * [Ruler](https://github.com/bobthecow/Ruler) - A simple stateless production rules engine. * [Carbon](https://github.com/briannesbitt/Carbon) - A simple DateTime API extension. * [Upload](https://github.com/codeguy/Upload) - A library for handling file uploads and validation. * [Sismo](http://sismo.sensiolabs.org/) - A continuous testing server library. * [Fetch](https://github.com/tedivm/Fetch) - An IMAP library. * [Lex](https://github.com/fuelphp/lex) - A lightweight template parser. * [Sslurp](https://github.com/EvanDotPro/Sslurp) - A library that makes dealing with SSL suck less. * [Composition](https://github.com/composition/composition) - A library to check your Composer environment at runtime. * [Entities](https://github.com/kherge/Entities) - A Doctrine ORM service provider for Silex. * [Elf](https://github.com/kherge/Elf) - A collection of helpers for the Symfony Console component. * [Amend](https://github.com/kherge/Amend) - A Symfony Console helper and command set for updating and upgrading applications. * [Doctrine Extensions](https://github.com/l3pp4rd/DoctrineExtensions) - A collection of Doctrine behavioural extensions. * [Color Jizz](https://github.com/mikeemoo/ColorJizz-PHP) - A library for manipulating and converting colours. * [Poser](https://github.com/FrenkyNet/Poser) - A Composer class aliasing library. * [Version](https://github.com/kherge/Version) - A parsing and comparison library for semantic versioning. * [Respect Validate](https://github.com/Respect/Validation) - A simple validation library. * [BCrypt](https://github.com/kherge/Bcrypt) - A BCrypt password hashing library. * [ShellWrap](https://github.com/MrRio/shellwrap) - A simple command line wrapper library. * [Streamer](https://github.com/fzaninotto/Streamer) - A simple object-orientated stream wrapper library. * [Cron Expression](https://github.com/mtdowling/cron-expression) - A library to calculate cron run dates. * [OPAuth](https://github.com/uzyn/opauth) - A multi-provider authentication framework. * [Ratchet](https://github.com/cboden/Ratchet) - A web socket library. * [Alice](https://github.com/nelmio/alice) - An expressive fixture generation library. * [PHP Option](https://github.com/schmittjoh/php-option) An option type library. * [Hateoas](https://github.com/willdurand/Hateoas) - A HATEOAS REST web service library. * [Metrics](https://github.com/beberlei/metrics) - A simple metrics API library. * [AWS SDK](https://github.com/aws/aws-sdk-php) - The official PHP AWS SDK library. * [Stripe](https://github.com/stripe/stripe-php) - The official Stripe PHP library. * [JShrink](https://github.com/tedivm/JShrink) - A JavaScript minifier library. * [PHP Datastructures](https://github.com/morrisonlevi/PHP-Datastructures) - A library of data structures. * [HAL](https://github.com/blongden/hal) - A HAL builder library. * [MongoQB](https://github.com/alexbilbie/MongoQB) - A MongoDB query builder library. * [Monga](https://github.com/FrenkyNet/Monga) - A MongoDB abstraction library. # C Extension Frameworks * [Phalcon PHP](http://phalconphp.com/) - A high performance C extension framework. * [Yaf](http://php.net/manual/en/book.yaf.php) - A PECL extension framework. # Utilities * [HomeBrew](http://mxcl.github.com/homebrew/) - A package manager for OSX. * [HomeBrew PHP](https://github.com/josegonzalez/homebrew-php) - A PHP tap for HomeBrew. * [PHP Env](https://github.com/CHH/phpenv) - A PHP version manager. * [PHP Build](https://github.com/CHH/php-build) - A PHP version installer. * [PHP CS Fixer](https://github.com/fabpot/PHP-CS-Fixer) - A coding standard fixer library. * [PHP Parser](https://github.com/nikic/PHP-Parser) - A PHP parser written in PHP. * [PHP Manipulator](https://github.com/schmittjoh/php-manipulator) - A library for analysing and modifying PHP Source Code. * [PHP Queue](https://github.com/miccheng/php-queue) - An application for managing queueing backends. * [DBV](http://dbv.vizuina.com/) - A database version control application. # Resources * [PHP The Right Way](http://www.phptherightway.com/) - A PHP best practice quick reference guide. * [PHP Best Practices](http://phpbestpractices.org/) - A PHP best practice guide. * [PHP Security](http://phpsecurity.readthedocs.org/en/latest/index.html) - A guide to PHP security. * [PHP Standards Working Group](https://groups.google.com/group/php-standards) - The PHP standards working group. * [The Open Web Application Security Project (OWASP)](https://www.owasp.org/index.php/Main_Page) - An open software security community. * [WebSec IO](http://websec.io/) - A web security community resource. # Tutorials * [Easy Package Management with Composer](http://net.tutsplus.com/tutorials/php/easy-package-management-with-composer/) - A Composer tutorial by Phil Sturgeon. * [Composer and Namespaces in Five Minutes](http://jtreminio.com/2012/10/composer-namespaces-in-5-minutes/) - A Composer namespace tutorial by Juan Treminio.