public
Last active

Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.

  • Download Gist
awesome-php.md
Markdown

Your awesome list is awesome!
TYVM!

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 ;)

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

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!

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 :) .

@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

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

Is there nothing pretty, standalone to deal with yaml?

Thanks for the list big time!

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

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

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

@pvorb Thanks. I've updated the link.

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

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

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

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

http://kohanaframework.org/

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

Thanks!

The new categorization is great, thank you.

Some usefull utilities :

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

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

Hello
please add

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

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 - 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?

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

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

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 - https://github.com/willdurand/Negotiation - too, a standalone lib that allows you to implement content negotiation into your app.

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

https://github.com/Ph3nol/NotificationPusher

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

+1 this list lacks an important framework

I missed mention to Yii Framework

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

you miss the best one #YOLO framework

/cc @igorw how dare they

Suggestion to add ToroPHP, a micro-framework.

This list is incomplete without Yii

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.

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.

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

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

Excellent list!

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

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!

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

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. http://pageconfig.com/post/portable-utf8

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

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 https://github.com/chanmix51/Pomm to it ?

Awesome list! Thanks for sharing :o)

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

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

great list ! thanks for sharing .

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.

There is also Hermes a very light router for PHP

Can you please add PsySH to the Command Line section?

@hanson Great suggestion. I've added it.

Awesome, awesome list!

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

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

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

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

@mistajolly Check out the Symfony form component.

Todo List:

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

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

In the ecommerce section you can add thelia :-)

A couple of suggestions:

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/

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

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

Amazing list, this project goes directly to Zeokat bookmarks.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.