Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Awesome PHP Libraries

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should be using:

  • Composer/Packagist - A package and dependency manager.
  • Symfony2 - A framework comprised of individual components.
  • Zend Framework 2 - Another framework comprised of individual components.
  • Symfony2 Components - The components that make Symfony2.
  • Aura Components - A package of PHP 5.4 components.
  • Illuminate Components - The components that make the upcoming Laravel 4 framework.
  • Silex - A micro framework built around Symfony2 components.
  • Slim - Another simple micro framework.
  • Twig - A comprehensive templating language.
  • SwiftMailer - A mailer solution.
  • Pimple - A tiny dependency injection container.
  • Auryn - Another dependency injection container.
  • Doctrine - A comprehensive DBAL and ORM.
  • Doctrine Migrations - A migration library for Doctrine.
  • 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 unit testing.
  • Phake - Another mock object library for unit 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.
  • 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.
  • 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.

C Extension Frameworks

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

Utilities

Resources

Tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.