Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.

ghost commented Mar 13, 2013

Your awesome list is awesome!

Link for Composition is dead, or the library is dead I don't know.

You can add atoum, the simple, modern and intuitive unit testing framework for PHP ≥ 5.3.

Yay, many Sensio Labs tools :) atoum is a serious concurrent of PHPUnit ;)

Ragazzo commented Mar 17, 2013

what about another tool for acceptance/functional tests - i see behat+mink are noticed here)

You could also add phpswitch to the list of PHP versions managers : /

Also, +1 for atoum which is a serious concurrent for PHPUnit!

gnugat commented Mar 18, 2013

Maybe you can add PHP: Innocent villagefolk or a Pillagin’ Pirate? in the Reading section?
It's an article explaining how PHP steals great things from other languages, making it awesome :) .


ziadoz commented Mar 18, 2013

@maxailloud I've fixed the dead link, looks like it moved. Thanks for letting me know.

I've added a bunch more libraries to the list, as well as Pádraic's article.

I'm planning to split everything out into categories at some point, as things are bit chaotic right now. I also want to add a new People section, that lists noteworthy members of the community too.

You should add CakePHP - Full Stack Framework

iRay commented Mar 18, 2013

Where is Yii Framework??? You should add it!

foertel commented Mar 19, 2013

Is there nothing pretty, standalone to deal with yaml?

Thanks for the list big time!


ziadoz commented Mar 19, 2013

@foertel Check out the Symfony Components, they have one specifically for parsing YAML. Alternatively there is a PECL library you can install too.

vlucas commented Mar 19, 2013

You should add Bullet - It's a functional-style micro framework that conforms to the HTTP spec.

skyzyx commented Mar 20, 2013

Mimetypes handles file extension → mimetype conversion, sourcing data from the Apache Web Server project.


ziadoz commented Mar 21, 2013

@pvorb Thanks. I've updated the link.

czogori commented Mar 23, 2013

You can add Phinx - database migrations, - Pure PHP backup framework.
Used to make incrmental backups of the site and send it to cloud storages.
Now allows to upload using WebDAV ( ,, skydrive support it and google drive and DropBox via some services such as, and , SugarSync and DropBox native uploaders via emulating user activity are obsolete, we are working on OAuth access to them )
PS. It doesn't support Composer (read and you will understand why) because I dislike Composer architecture. If you want to make it work using Composer you will need to modify some includes in the top of the files - My fork of some good debug output library
Supports Composer, because has no dependences (only default PHP package required).

geoom commented Apr 3, 2013

how is it that there's no kohana on this list?

Tocacar commented Apr 3, 2013

Please add ProTalk under 'Resources'



ghost commented Apr 16, 2013

The new categorization is great, thank you.

Some usefull utilities :


ziadoz commented Apr 17, 2013

@MattKetmo Thanks for the suggestions. I've added them to the list.

Just awesome....! thx so much for list it....!

please add

peschee commented May 6, 2013

You could also include unicorn. It's a set of HTTP libraries, it includes a php version as well:

mPDF - A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support.

Carbon's up there, but you forgot Datum, which I believe was on this list before...

Datum -

Also, the templates section seems to be missing the granddaddy of PHP templating systems, Smarty, and also PHPTAL. And what about Log4PHP under logging?

goncin commented Jun 18, 2013

I missed mention to Yii Framework -

GeeH commented Jun 18, 2013

Argh, you haven't added my favourite framework, "X Framework", please add it to the list now you hater!!!!1!!!

makasim commented Jun 18, 2013

Would it be possible to add a payment lib payum lib?

P.S. I just want you be informed it exists.

Nice! You may love Negotiation - - too, a standalone lib that allows you to implement content negotiation into your app.

Ph3nol commented Jun 18, 2013

About "Notifications" part, I humbly suggest my NotificationPusher library, for easy devices notifications push (Apple, Android).

cebe commented Jun 18, 2013

Where is Yii Framework??? You should add it!

+1 this list lacks an important framework

aRn0D commented Jun 18, 2013

Nice !!

I missed mention to Yii Framework

We are talking about "Awesome PHP Libraries and Resources" 😄

you miss the best one #YOLO framework

/cc @igorw how dare they

Suggestion to add ToroPHP, a micro-framework.


ghost commented Jun 18, 2013

This list is incomplete without Yii


ghost commented Jun 18, 2013

Hey @ziadoz, very nice list and thank you for adding my projects to it!

I just wanted to give you a heads up on some of my projects listed.

  • Version has been deprecated in favor of my newer semantic version handling library. It is also called Version, but hosted under my herrera-io organization. The library has a more broken out API, and supports v2.0.0-rc.2 of the Semantic Versioning specification as opposed to v2.0.0-rc.1.
  • RunkitTestCase does not exist anymore. The project was abandoned due to how outdated the official runkit extension is, and after realizing that there are better ways to perform testing. (I am aware of zenovich's work on an unofficial extension.) Using my experience with PHPUnit, I have created a suped up version of the standard PHPUnit_Framework_TestCase class: TestCase. It manages the creation and clean up of temporary directories and files, as well as providing a simple way to access protected and private class members.
  • Bcrypt has been dropped in favor of ircmaxell's PHP Password Lib project. There were some flaws in the design of my library which ircmaxell's library had already taken care of.

I have another project that may be interesting to others, which could be added to your list if worthy:

Wise is a project built on the Symfony Config library. Its purpose is to try and bring the configuration system found in Symfony (imports, placeholder values, normalization, validation, etc) and make them available for general use outside of Symfony.

panique commented Jun 18, 2013

Wow! When i see this, then all concerns a la "PHP is the wrong language!" are busted away! This gist should be transformed to a larger interactive website in a very prominent spot in the PHP Community.


ziadoz commented Jun 18, 2013

@panique Thanks. I plan on making a website at some point, I just need to find some time in my schedule. :)

meenie commented Jun 18, 2013

@ziadoz - Just noticed you added my library (Munee) to your list a couple months ago. Thanks for doing that :). Also, great work putting this all together! Definitely a great resource for the PHP Community.

Suggestion to add Go! Aspect-Oriented Framework for PHP

Excellent list!

Someone else has already mentioned it - but should definitely include log4php:


ghost commented Jun 19, 2013

Hello :-)

Some suggestions (only stable libraries):

  • File: Hoa\Mime, to manipulate a MIME types database and get some related informations about streams;
  • Testing: Hoa\Praspel, a specification language for contract-based testing (a research project) and Hoathis\Atoum, an automatic unit test generator from Praspel to atoum;
  • Code Analysis: Hoa\Compiler, a LL(k) (and LL(1)) compiler compiler, grammar are written in the PP language;
  • Command Line: Hoa\Console, tools related to console, like manipulating cursor, window, readline with autocompletion (see it in action), processus, getoption etc.;
  • Text and Numbers: Hoa\String, manipulate UTF-8 string in a natural way;
  • Miscellaneous: Hoa\Websocket, a WebSocket server, and Hoa\Eventsource, an EventSource server.

Awesome, thanks for sharing all these great stuff!

rdohms commented Jun 19, 2013

Great list @ziadoz, would you consider adding DMS components also, or at least DMS\Filter (

mattsah commented Jun 20, 2013

Wow, the only thing I got on there was Parody under Testing... by far the least useful of my PHP projects.

You should add the excellent FPDF library under the "PDF" section.

Add "Portable UTF8" for unicode handling in PHP.

You should add Solarium to the "Search" libraries:


ghost commented Jun 20, 2013

When I saw this list I felt like a child in candyshop... Great job!

Very nice to have a comprehensive list of useful librairies. Nice job. Would you consider adding to it ?

ty great list!

Awesome list! Thanks for sharing :o)

Great list. I'd recommend adding RIPS Code Scanner, which looks for security issues in PHP code.

ayanray commented Jul 5, 2013

great list. Ive starred a number of potentially solid ones. Thanks for sharing!

great list ! thanks for sharing .

dukuo commented Jul 22, 2013

Thank you for sharing!

Awesome list, thanks for sharing! You should add VerbalExpressionsPhp. A library to easily build regular expressions.

This list is really helpful. Also, can you please add Dispatch to the Micro Frameworks section? Regards.

Aymkdn commented Aug 10, 2013

There is also Hermes a very light router for PHP

hason commented Aug 23, 2013

Can you please add PsySH to the Command Line section?


ziadoz commented Aug 23, 2013

@HanSon Great suggestion. I've added it.

Awesome, awesome list!

Here is one more good thing to add, I think:

Would my units of measure conversion library be appropriate for this list?

Thanks for this list. Does anybody recommend a good HTML Forms library?


ziadoz commented Sep 30, 2013

@triplepoint That looks great. I've added it.

@mistajolly Check out the Symfony form component.


ziadoz commented Oct 15, 2013

Todo List:

  • Add Anthony Ferrara's "Beyond" series to Reading.

Thanks for a great list, bookmarked. I would add HTML to PDF converter

lunika commented Nov 5, 2013

In the ecommerce section you can add thelia :-)

A couple of suggestions:

Geotools moved to the League.

PHP Standards Working Group - The PHP standards working group.

We've been called the PHP-FIG for a really long time :)

adri commented Nov 26, 2013

Great list thanks! I noticed that this is a duplicate:
Dissect - A set of tools for lexical and syntactical analysis.


ziadoz commented Nov 27, 2013

@philsturgeon @adri Thanks. I've made those changes at the list's new home:

Zeokat commented Mar 1, 2014

Amazing list, this project goes directly to Zeokat bookmarks.

hexhov commented Jul 25, 2014

Big thx very helpful list.

You are the best, thanks 😄

vovech commented Mar 22, 2016

People, how about to provide links for PHP Learning? I have some to share..

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