Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
@Ercaderca

Your awesome list is awesome!
TYVM!

@maxailloud

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

@mageekguy

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

@mickaelandrieu

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

@Ragazzo

what about another tool for acceptance/functional tests - https://github.com/Codeception/Codeception? i see behat+mink are noticed here)

@jubianchi

You could also add phpswitch to the list of PHP versions managers : https://github.com/jubianchi/phpswitch/ / http://jubianchi.fr/phpswitch/

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

@gnugat

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
Owner

@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.

@dmartuszewski

You should add CakePHP - Full Stack Framework

@iRay

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

@foertel

Is there nothing pretty, standalone to deal with yaml?

Thanks for the list big time!

@ziadoz
Owner

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

@vlucas

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

@skyzyx

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

@ziadoz
Owner

@pvorb Thanks. I've updated the link.

@czogori

You can add Phinx - database migrations, https://github.com/robmorgan/phinx

@KOLANICH

https://github.com/KOLANICH/PHP-Backuper - Pure PHP backup framework.
Used to make incrmental backups of the site and send it to cloud storages.
Now allows to upload using WebDAV (https://www.box.com/ , http://disk.yandex.ru/, skydrive support it and google drive and DropBox via some services such as https://dav-pocket.appspot.com/, https://dropdav.com/ and http://otixo.com/) , 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 Readme.md 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

@KOLANICH

https://github.com/KOLANICH/dBug - My fork of some good debug output library
Supports Composer, because has no dependences (only default PHP package required).

@geoom

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

http://kohanaframework.org/

@Tocacar

Please add ProTalk under 'Resources' http://protalk.me

Thanks!

@adagiolabs

The new categorization is great, thank you.

@MattKetmo

Some usefull utilities :

@ziadoz
Owner

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

@frangeris

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

@ivan1986

Hello
please add

@peschee

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

@horechek

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

@darkphoenixff4

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

Datum - https://github.com/dandoescode/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

I missed mention to Yii Framework - http://yiiframework.com

@GeeH

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

@makasim

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

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

@willdurand

Nice! You may love Negotiation - https://github.com/willdurand/Negotiation - too, a standalone lib that allows you to implement content negotiation into your app.

@Ph3nol

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

https://github.com/Ph3nol/NotificationPusher

@cebe

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

+1 this list lacks an important framework

@aRn0D

Nice !!

@KingCrunch

I missed mention to Yii Framework

We are talking about "Awesome PHP Libraries and Resources" :smile:

@cordoval

you miss the best one #YOLO framework

/cc @igorw how dare they

@martinbean

Suggestion to add ToroPHP, a micro-framework.

@ghost
Unknown commented

This list is incomplete without Yii

@ghost
Unknown commented

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

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
Owner

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

@meenie

@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.

@lisachenko

Suggestion to add Go! Aspect-Oriented Framework for PHP

@DanKing123

Excellent list!

Someone else has already mentioned it - but should definitely include log4php: http://logging.apache.org/log4php/

@hoaproject

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.
@erikaheidi

Awesome, thanks for sharing all these great stuff!

@rdohms

Great list @ziadoz, would you consider adding DMS components also, or at least DMS\Filter (https://github.com/rdohms/DMS-Filter)

@mattsah

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

@warrenski

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

@praisedpk

Add "Portable UTF8" for unicode handling in PHP. http://pageconfig.com/post/portable-utf8

@caseyamcl

You should add Solarium to the "Search" libraries: http://www.solarium-project.org/

@devhelp

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

@chanmix51

Very nice to have a comprehensive list of useful librairies. Nice job. Would you consider adding https://github.com/chanmix51/Pomm to it ?

@MrBoolean

ty great list!

@toby-griffiths

Awesome list! Thanks for sharing :o)

@diarmaid-mcmanus

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

@ayanray

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

@yiqing-95

great list ! thanks for sharing .

@DilipRamirez

Thank you for sharing!

@arjanvdbos

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

@noodlehaus

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

@Aymkdn

There is also Hermes a very light router for PHP

@hason

Can you please add PsySH to the Command Line section?

@ziadoz
Owner

@hanson Great suggestion. I've added it.

@terion-name

Awesome, awesome list!

Here is one more good thing to add, I think: https://github.com/serbanghita/Mobile-Detect

@triplepoint

Would my units of measure conversion library be appropriate for this list? https://github.com/triplepoint/php-units-of-measure

@mistajolly

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

@ziadoz
Owner

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

@mistajolly Check out the Symfony form component.

@ziadoz
Owner

Todo List:

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

Thanks for a great list, bookmarked. I would add https://github.com/dompdf/dompdf HTML to PDF converter

@lunika

In the ecommerce section you can add thelia :-)

@ihabunek

A couple of suggestions:

@philsturgeon

Geotools moved to the League.

https://github.com/php-loep/Geotools

@philsturgeon

PHP Standards Working Group - The PHP standards working group.

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

http://www.php-fig.org/

@adri

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

@ziadoz
Owner

@philsturgeon @adri Thanks. I've made those changes at the list's new home: https://github.com/ziadoz/awesome-php

@Zeokat

Amazing list, this project goes directly to Zeokat bookmarks.

@hexhov

Big thx very helpful list.

@ivan-hidzhov

You are the best, thanks :smile:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.