Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Setter:
Why Microframeworks Lead to Lean Applications
Sep 03, 2015 @ 10:17:35

Matthew Setter as a post on his site that suggests that microframeworks make for lean applications, such as one he recent built using the Slim framework.

Recently I built a new application using SlimPHP, a PHP microframework, instead of a full-stack framework, such as Symfony or Zend Framework 2. In this post, I start discussing how taking this approach has lead to a leaner application design. [...] Before I get too far along, I want to make one thing clear, I'm not bagging full-stack frameworks. [...] Technically, you don't need to bring in more than you need. However, often times, these frameworks still do have a lot of overhead which you may, typically, never need. [...] Whereas microframeworks, assuming they follow The MicroPHP Manifesto, especially SlimPHP, give you the minimum you need to start building a web application.

He goes on to talk about why he made the choice of Slim for his application and describes a bit about what the application does. He talks about some of his main needs when creating the site and how Slim matched up with most of them (with a little help from a few other packages). He included other libraries for YAML parsing, Markdown output formatting, caching and others to round out the application but Slim was at the heart of it. He ends the post by pointing out that taking this lightweight approach was a perfect fit for his project and that, while there were other choices, Slim fit his needs best.

tagged: lean application microframework slim slimframework packages

Link: http://www.matthewsetter.com/why-a-microframework-lead-to-lean-applications/

Rafael Dohms:
Why I support “The League”
Mar 11, 2015 @ 12:47:27

Rafael Dohms has posted some if his own thoughts to his site about The League of Extraordinary Packages and why he supports their efforts to bring a good solid base of curated packages to the PHP ecosystem.

“The League of Extraordinary Packages” is what I have dubbed a collective of composer packages. Its essentially a group of developers who have gathered under a single flag (or in this case a vendor name) and set standards for the packages that live there.

Why does this even matter? Well for one Packagist is an open repository, this means that it is wide open for anyone to join, from the best packages to the most ridiculous ones. Quality control is not one of its roles and quality checking is on average 2-3 clicks per package away.

He talks about the quality control measures The League has in place to only contain good, well-tested and solid PHP packages. He also lists a few of his main reasons for supporting the effort including the fact that it reduces author fragility and provides an extended reach for those packages to reach a wider audience.

I really enjoy the work being done by The League, or The PHPLeague, or Pleague as I prefer to call it. I think it has provided us with some very good packages and given us all something to strive for. Maybe more collectives is what we need.
tagged: thephpleague support packages extraordinary packagist curated

Link: http://blog.doh.ms/2015/03/10/why-i-support-the-league/

Phil Sturgeon:
Meet the League
Feb 12, 2015 @ 10:56:17

Phil Sturgeon has a new post to his site introducing a group that you may have heard about but aren't exactly familiar with who makes it up - the members of the League of Extraordinary PHP Packages (or just "The League").

A few months ago I wrote What is The League of Extraordinary Packages?, and it was clearly written in a defensive tone. I wanted to explain a few things about the League because people were attacking it in weird ways. We sat down as a group and discussed a plan for 2015 to solve this. A lot of cool ideas came up, the first of which was to make a Leadership Group. These people have been doing amazing things in the PHP community at large, and have been doing awesome things in the League too. This is an introduction to them, and a thank you for everything they do.

He introduces five members of The League and talks about which project they're associated with:

There's several other packages besides those mentioned here that make up the League's offerings, so be sure to take a look at the list and see if there's anything that might benefit you or your application.

tagged: theleague meet introduction packages theleagueofextraordinarypackages members

Link: https://philsturgeon.uk/api/2015/02/11/meet-the-league/

Phil Sturgeon:
What is The League of Extraordinary Packages?
Oct 16, 2014 @ 10:48:29

In his latest post Phil Sturgeon talks about a project that's been running for a while, the The League of Extraordinary Packages and aims to clear up some recent misconceptions about the group and what they strive for in the projects they endorse.

This is the story of group of friends, who decided to write some code, but somehow confused and angered everyone with a keyboard. [...] Where should I release this code [I was super excited about releasing]? Should I release it with a vendor name of Sturgeon? That seemed rather egotistical. I could make something up, but what is the point of a single vendor with a single package? I wondered if any of my buddies were having this problem. [...] Being as hungover as I was, I thought long and hard, for about 5 seconds until something amazing happened in my brain... The PHP Super Best Friends Club! The guys loved it, and we started making plans immediately.

He goes on to talk about The League and some of the goals of the organization including the stated desire for quality code and a constant stream of work on the project (no abandoned or stale projects). He talks about how some of the rules for inclusion were created and some of the members of the various projects it includes. He then gets to the "recent misunderstanding" part of things with the clash of the League and the PHP-FIG (see here). He clears up some of the confusion in that thread by stating that:

  • League != PHPClasses
  • League != PEAR

He finishes off the post talking some about the leadership of the group (hint: it's an organization, not really run by a person or persons) and some of the work he's doing to ensure the future of the League and the packages it includes.

tagged: league extraordinary packages phpclasses pear compare rules community

Link: https://philsturgeon.uk/blog/2014/10/what-is-the-league-of-extraordinary-packages

Matthias Noback:
PHP - The Future of Packages
Jan 22, 2014 @ 09:04:03

In a recent post to his site Matthias Noback looks at what he sees as the future of packages in PHP including some thoughts about the offerings on PHPClasses.org and the rise of Composer/Packagist.

When you ask me: what is the reason for a PHP developer to write classes? I answer: in order to separate responsibilities and hide data. Many principles have been devised to help developers fulfilling these tasks. But in most cases there was no sign of these principles underlying the code on phpclasses.org. This is why many people have turned their back on phpclasses.org. I was about to do the same. But in response to my tweet some people, including Manuel Lemos, responded that everybody needs a place to learn and try.

He looked a bit more into the PHPClasses site and found some new features not known about (including Composer support). He points out some issues with their approach about publishing packages and how they're released. He contrasts this with how Packagist.org handles the Composer information and package statistics. He looks at some recommended ways to judge the quality of packages and mentions a new book he's writing to help PHP developers create better, more useful (and flexible) packages.

tagged: future packages phpclasses composer packagist

Link: http://php-and-symfony.matthiasnoback.nl/2014/01/php-the-future-of-packages

Phil Sturgeon:
The Tribal Framework Mindset
Jan 03, 2014 @ 10:37:15

Phil Sturgeon has an interesting post (with plenty of comments following it) about what he calls the "tribal framework mindset" - basically that certain technologies can provide a siloing effect on developers rather than engaging them as a part of the PHP community as a whole. One community centered around the Laravel framework sparked the post.

As much as I understand pushing the "Laravel Community", content, blogs, etc, can we stop this soloing of efforts and be a PHP community? [...] It should still have made sense. [...] Well, I thought so at least until I had a myriad of bizarre responses from people (mostly the well-known Laravel names) defending and picking issue with things I said, assuming instead of saying something logical I must have meant something moronic. That is rather offensive to me, so let's explain it for them.

He goes on to break it down into four different topics and summarizes how the "framework versus general PHP" point fits in - packages and functionality, developers and how they label themselves and books/other resources. He finishes off the post with a look at the "morals" behind it all and how, due to some of the "tribal bullshit" he's seen (even in his own CodeIgniter experience), developers are siloing into groups when really they should be a part of the community as a whole.

tagged: tribal framework laravel community books resources morals packages

Link: http://philsturgeon.co.uk/blog/2014/01/the-tribal-framework-mindset

Community News:
The League of Extraordinary Packages
Aug 16, 2013 @ 11:19:14

A new site has started up that's trying to provide a listing of the "highest quality packages" out there for PHP based on PHP-FIG standards and good practices - the League of Extraordinary Packages.

The League of Extraordinary Packages has one driving mission, to track down and develop PHP packages of the highest quality possible, using modern tools, standards and practices to distribute, test and strengthen the code.

Members of The League follow the standards put forward by the PHP-FIG, follow the best practices detailed by PHP The Right Way and distribute all code through Composer.

So far there's a few on the list, but it promises to grow quickly. Libraries already included are things like Geotools, oauth2-client and statsd.

tagged: league extraordinary packages composer phpfig phptherightway

Link: http://www.thephpleague.com

Paul Jones:
Aura: First 1.0.0 Stable Library Releases!
Nov 30, 2012 @ 10:34:11

As Paul Jones mentions in this new post to his site, the Aura Framework project has just released it's 1.0 stable version of all of its packages. The Aura project provides independent library packages for PHP 5.4+. These packages can be used alone, in concert with each other, or combined into a full-stack framework of their own.

The Aura Project for PHP 5.4 is happy to announce its first release of 1.0.0 stable library packages. [...] In addition, we have initial beta releases of four new libarary packages. [...] While the above packages are completely independent of each other, Aura also has a Framework package that binds them all together.

Packages included in the v1.0 of the framework include Aura.Cli, Aura.Http and Aura.Signal. Beta packages are things like Aura.Filter and Aura.Intl.

You can find out more about the project from its site over on github.

tagged: aura framework project release stable packages


Phil Sturgeon's Blog:
Packages: The Way Forward for PHP
Mar 07, 2012 @ 08:29:57

In this new post to his blog Phil Sturgeon talks about what he (and apparently several others) think is the "way forward for PHP" to make it a better language and ecosystem - packages.

What is a package? A package is a piece of reusable code that can be dropped into any application and be used without any tinkering to add functionality to that code. [...] Most package systems also allow for something called dependencies. [...] This is how most modern programming languages work, but to make a generalisation: PHP developers hate packages. Why? Well while other languages have great systems like CPAN for Perl, Gems for Ruby, PIP, PHP has had a terrible history with package management going back years.

He talks about one of the main current packaging systems, PEAR, and how, despite its attempts, it just hasn't seen the adoption the package management of other languages has. Phil makes a recommendation that is slowly becoming more and more popular in the PHP community - building "unframeworks". These sets of reusable components (similar to the ideas behind Aura, Symfony and Zend Framework 2) are designed to be dropped in and used without the dependencies of the frameworks they live in. He points to the Composer/Packagist dynamic duo as a way through all of the current packaging issues - a simple way to make any project an installable package just by adding a configuration file.

tagged: packages composer packagist pear community support unframework


Premium Services Offering
Jul 05, 2007 @ 10:31:00

According to this new post on the PHPClasses.org blog today, they're launching some premium services for the users of the site:

It is with great pleasure that I announce that the PHP Classes site finally launched the premium services for PHP developers that use the site. [...] The premium subscriptions are the alternative that I found to make this site provide a pleasant user experience and hopefully provide useful features that can help making the life of PHP developers better.

He goes into detail on what all is involved in the premium subscriptions including:

  • No advertising
  • Own site search
  • Recorded searches
  • Notable packages
  • PHP Specialist forums

There's also several other services that are listed as "coming soon" to further enhance the site - customizable site design templates, new class wish lists, personalized bookmarks, etc. The cost for all of the premium services comes to $5 USD/month (with $15 USD due at a time because of restrictions on the payment gateway).

Another pair of interesting notes about the future of the site are mentions of revenue sharing for best contributors and the opportunity for free subscriptions.

You can get complete information about these premium services from its page on the PHPClasses.org website.

tagged: premium service offer advertising packages search specialist forum premium service offer advertising packages search specialist forum