mirror of
https://github.com/namibia/awesome-php.git
synced 2024-11-15 17:07:07 +00:00
20 KiB
20 KiB
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
- Amazon Web Service SDK - The official PHP AWS SDK library.
- Stripe - The official Stripe PHP library.
- Campaign Monitor - The official Campaign Monitor PHP library.
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 Switch - Another 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 Analyser - A library for analysing PHP code to find bugs and errors.
- Zend Optimizer Plus - A Zend engine opcode cacher and optimiser.
- PHP Queue - An application for managing queueing backends.
- PHPPHP - A PHP VM implementation in PHP.
- PHPSandbox - A PHP sandbox environment.
- SensioLabs Security Check - A web tool to check your Composer dependecies for security advisories.
- DBV - A database version control application.
- Country List - A list of all countries with names and ISO 3166-1 codes.
Resources
- PHP The Right Way - A PHP best practice quick reference guide.
- PHP Best Practices - A PHP best practice guide.
- PHP Weekly - A weekly PHP newsletter.
- PHP Security - A guide to PHP security.
- PHP Standards Working Group - The PHP standards working group.
- The Open Web Application Security Project (OWASP) - An open software security community.
- WebSec IO - A web security community resource.
- Web Advent - An advent calendar for web developers.
- Programming with Anthony - A video series by Anthony Ferrara.
- Scaling PHP Applications - A paid ebook about scaling PHP applications by Steve Corona.
- Grumpy PHPUnit - A book about unit testing with PHPUnit by Chris Hartjes.
- Semantic Versioning - A website explaining semantic versioning.
Reading
- OWASP PHP Security Cheat Sheet - A PHP security cheatsheet.
- Seven Ways to Screw Up BCrypt - An article about correct BCrypt implementation.
- Preventing CSRF Attacks - An article on preventing CSRF attacks.
- Print vs Echo, Which One is Faster? - An article about print and echo performance.
- The PHP Ternary Operator. Fast or Not? - An article ternary performance.
- On PHP 5.3, Lamda Functions and Closures - An article about lambda functions and closures.
- Use Env - An article about using the unix environment helper.
- Disproving the Single Quotes Myth - An article about performance of single and double quoted strings.
- You're Being Lied To - An article about internal ZVALs.
- How Long is a Piece of String - An article about string internals.
- Understanding OpCodes - An article about opcodes.
- How Foreach Works - A detailed StackOverflow answer about foreach.
- When Does Foreach Copy? - An article about the internals of foreach.
- How Big Are PHP Arrays (And Values) Really? - An article about array internals.
- PHP Source Code for Developers: 1 2 3 4 - A series about the PHP source code.
- Collecting Garbage: 1 2 3 - A series about the PHP garbage collection internals.
- Composer Versioning - An article about Composer versioning.
- Composer Stability Flags - An article about Composer stability flags.
- PHP Sucks! But I Like It! - An article about the pros and cons of PHP.
- PHP Is Much Better Than You Think - An article about the PHP lanaguage and ecosystem.
- Innocent Villagefolk or a Pillagin’ Pirate? - An article about PHP taking ideas from other language.
- Predicting Random Numbers in PHP - An article about generating random numbers.