Skip to content

Instantly share code, notes, and snippets.

@dlsniper
Forked from ziadoz/awesome-php.md
Created January 29, 2013 21:41
Show Gist options
  • Save dlsniper/4668171 to your computer and use it in GitHub Desktop.
Save dlsniper/4668171 to your computer and use it in GitHub Desktop.

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).

  • Composer/Packagist - A package and dependency manager.
  • Symfony2 - A framework comprised of individual components.
  • Zend Framework 2 - Another framework comprised of individual components.
  • Laravel 4 - A simple PHP framework.
  • Lithium - Another framework of components.
  • Symfony2 Components - The components that make Symfony2.
  • Aura Components - A package of PHP 5.4 components.
  • Silex - A micro framework built around Symfony2 components.
  • Slim - Another simple micro framework.
  • Twig - A comprehensive templating language.
  • Mustache - A PHP implementation of the Mustache template language.
  • MtHaml - A PHP implementation of the HAML template language.
  • SwiftMailer - A mailer solution.
  • Pimple - A tiny dependency injection container.
  • Auryn - Another dependency injection container.
  • PHP DI - A dependency injection implementation using annotations.
  • Doctrine - A comprehensive DBAL and ORM.
  • Doctrine Migrations - A migration library for Doctrine.
  • Migrations - A migration management library.
  • Propel - A fast ORM.
  • Goutte - A simple web scraper.
  • Assetic - An asset manager pipeline library.
  • Pipe - Another asset manager pipeline library.
  • Imagine - An image manipulation library.
  • PHP Image Workshop - Another image manipulation library.
  • GIF Frame Extractor - A library to extract GIF animation frame information.
  • GIF Creator - A library to create GIF animations from multiple images.
  • Monolog - A comprehensive logger.
  • Behat - A Behaviour Driven Development framework.
  • Mink - Web acceptance testing.
  • Buzz - A HTTP client.
  • Guzzle - Another HTTP client.
  • PHPUnit - A unit testing framework.
  • RunkitTestCase - A library for creating PHPUnit test cases that use runkit.
  • PHPSpec - A design by specification unit testing library.
  • Mockery - A mock object library for testing.
  • Phake - Another mock object library for testing.
  • Parody - Yet another mock object library for testing.
  • KnpMenu - A menu library.
  • Gaufrette - A filesystem abstraction layer.
  • Snappy - A PDF and image generation library (uses WKHTMLToPDF).
  • Pagerfanta - A pagination library.
  • GeoCoder - A geocoding library.
  • Faker - A fake data generator library.
  • Spork - A process forking library.
  • HTML Purifier - A standards compliant HTML filter.
  • React - An event driven non-blocking I/O library.
  • Événement - An event dispatcher library.
  • FuelPHP Event - Another event dispatcher library.
  • Sami - An API documentation generator.
  • Bob - A simple project automation tool.
  • Phake - A rake PHP clone library.
  • JSON Lint - A JSON lint utility.
  • PHPAss - A portable password hashing framework.
  • PHPSecLib - A pure PHP secure communications library.
  • PHP Password Lib - A library for generating and validating passwords.
  • Password Compat - A library that provides compatibility with the new PHP 5.5 password functions.
  • Password Policy - A password policy library for PHP and JavaScript.
  • Box - A utility to build PHAR files.
  • Wisdom - A library for loading config data.
  • GetOpt - A command line opt parser.
  • OptParse - Another command line opt parser.
  • Commando - Another simple command line opt parser.
  • TCrypto - A simple encrypted key-value storage library.
  • Tala Payments - A payment processing library.
  • Ruler - A simple stateless production rules engine.
  • Carbon - A simple DateTime API extension.
  • Datum - A fork of the Carbon DateTime API extension.
  • ExpressiveDate - Another DateTime API extension.
  • Upload - A library for handling file uploads and validation.
  • Sismo - A continuous testing server library.
  • Fetch - An IMAP library.
  • Lex - A lightweight template parser.
  • Sslurp - A library that makes dealing with SSL suck less.
  • Composition - A library to check your Composer environment at runtime.
  • Entities - A Doctrine ORM service provider for Silex.
  • Elf - A collection of helpers for the Symfony Console component.
  • Amend - A Symfony Console helper and command set for updating and upgrading applications.
  • Doctrine Extensions - A collection of Doctrine behavioural extensions.
  • Color Jizz - A library for manipulating and converting colours.
  • Poser - A Composer class aliasing library.
  • Version - A parsing and comparison library for semantic versioning.
  • Respect Validate - A simple validation library.
  • BCrypt - A BCrypt password hashing library.
  • ShellWrap - A simple command line wrapper library.
  • Streamer - A simple object-orientated stream wrapper library.
  • Cron Expression - A library to calculate cron run dates.
  • OPAuth - A multi-provider authentication framework.
  • Ratchet - A web socket library.
  • Alice - An expressive fixture generation library.
  • PHP Option An option type library.
  • Hateoas - A HATEOAS REST web service library.
  • Metrics - A simple metrics API library.
  • JShrink - A JavaScript minifier library.
  • Ardent - A library of data structures.
  • HAL - A Hypertext Application Language (HAL) builder library.
  • MongoQB - A MongoDB query builder library.
  • Monga - A MongoDB abstraction library.
  • Predis - A feature complete Redis library.
  • Sabre VObject - A library for parsing VCard and iCalendar objects.
  • OAuth2 - An OAuth2 authentication server, resource server and client library.
  • CurlBack - A simple wrapper library for cURL.
  • Annotations - An annotations library (part of Doctrine).
  • Cache - A caching library (part of Doctrine).
  • Filterus - A simple PHP filtering library.
  • PHP Collections - A simple collections library.
  • PHP Domain Parser - A domain suffix parser library.
  • Country List - A list of all countries with names and ISO 3166-1 codes.
  • Elastica - A client library for Elastic Search.

Official APIs

C Extension Frameworks

  • Phalcon PHP - A high performance C extension framework.
  • Yaf - A PECL extension framework.

Utilities

  • HomeBrew - A package manager for OSX.
  • HomeBrew PHP - A PHP tap for HomeBrew.
  • PHP Brew - A PHP version manager and installer.
  • PHP Env - Another PHP version manager.
  • PHP Build - Another PHP version installer.
  • PHP CS Fixer - A coding standard fixer library.
  • PHP Parser - A PHP parser written in PHP.
  • PHP Manipulator - A library for analysing and modifying PHP Source Code.
  • PHP Queue - An application for managing queueing backends.
  • PHPPHP - A PHP VM implementation in PHP.
  • DBV - A database version control application.

Resources

Reading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment