Skip to content

Instantly share code, notes, and snippets.

@swilla
Forked from ziadoz/awesome-php.md
Created March 27, 2013 19:26
Show Gist options
  • Save swilla/5257257 to your computer and use it in GitHub Desktop.
Save swilla/5257257 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.
  • Composer Installers - A multi framework Composer library installer.
  • 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.
  • Zend Framework 2 Components - The components that make ZF2.
  • Aura Components - A package of PHP 5.4 components.
  • Silex - A micro framework built around Symfony2 components.
  • Silex Skeleton - A skeleton for Silex.
  • Slim - Another simple micro framework.
  • Bullet PHP - A mico framework for building REST APIs.
  • Twig - A comprehensive templating language.
  • Twig Cache Extension - A template fragment cache library for Twig.
  • 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.
  • Di - Another flexible 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.
  • Phinx - Another database migration library.
  • Propel - A fast ORM.
  • Spot - A MySQL datamapper ORM.
  • Goutte - A simple web scraper.
  • Assetic - An asset manager pipeline library.
  • Pipe - Another asset manager pipeline library.
  • Munee - An asset optimiser 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.
  • Guzzle - A HTTP client.
  • Buzz - Another HTTP client.
  • PHPUnit - A unit testing framework.
  • RunkitTestCase - A library for creating PHPUnit test cases that use runkit.
  • ParaTest - A parallel testing library for PHPUnit.
  • PHPSpec - A design by specification unit testing library.
  • Codeception - A full stack testing framework.
  • Atoum - A simple 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.
  • GeoTools - A library of geo-related tools.
  • 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.
  • PHP Documentor 2 - Another documentation generator.
  • Go - A simple PHP build tool.
  • 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.
  • RandomLib - A library for generating random numbers and strings.
  • SecurityMultiTool - A PHP security library.
  • 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.
  • OmniPay - A framework agnostic multi-gateway 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.
  • Email Reply Parser - An email reply parser 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.
  • Valitron - Another 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.
  • Annotations - An annotations library (part of Doctrine).
  • Cache - A caching library (part of Doctrine).
  • Stash - Another library for caching.
  • Filterus - A simple PHP filtering library.
  • PHP Collections - A simple collections library.
  • PHP Domain Parser - A domain suffix parser library.
  • PHP File Locator - A library for locating files in large projects.
  • Elastica - A client library for Elastic Search.
  • Serializer - A library for serialising and de-serialising data.
  • Numbers PHP - A library for working with numbers.
  • Patchwork UTF-8 - A portable library for working with UTF-8 strings.
  • Boris - A tiny PHP REPL.
  • LiteCQRS - A CQRS (Command Query Responsibility Separation) library.
  • NameSpacer - A library to convert from underscores to namespaces.
  • Purl - A URL manipulation library.
  • S3 Stream Wrapper - A stream wrapper library for Amazon S3.
  • TwitterOAuth - A Twitter OAuth library.
  • Damnit - A pretty error handling library.
  • CalendR - A calendar management library.
  • Finite - A simple PHP finite state machine.
  • LadyBug - A dumper library.
  • Plum - A deployer library.

Official APIs

Utilities

Resources

Reading

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