Status Update

I. Am. Alive.

Published:

Long time since my last blogpost. The folks at university keep me busy…

Whatever, just wanted to mention that I’ve just set up Travis CI and Packagist for two of my PHP components on GitHub:

Travis CI is > a hosted continuous integration service for the open source community and > Packagist is the main Composer repository. It aggregates all sorts of PHP packages that are installable with Composer.

From now on, all my PHP components will both support installation via the dependency manager Composer and the package manager PEAR installer.

In addition I have removed all downloads from my GitHub profile; I think three methods (Git, Packagist and PEAR) to obtain the files are enough.

Search for FlorianWolters on the Packagist web page or visit my PEAR channel for further information.

Regarding my PHP source code:

  • All my projects and components will use PSR-0, PSR-1 and PSR-2 from now on. The discussion about the sense of standards within the PHP community is just silly. Just. Use. Them.
  • I changed the vendor name of my components from fw to FlorianWolters for two reasons:
    • Acronyms suck.
    • Studly caps are required to fulfill PSR-0 and Fw is ugly.

Last, but not least: The current version of FlorianWolters\Component\Core\Enum is 0.3.0. The changelog includes:

  • Changed vendor from fw to FlorianWolters.
  • Changed default __toString() implementation, so that it matched the return value of name() (as in Java).
  • Added Composer support.
  • Fixed and unified author and license information.
  • Fixes in the comments.

I hope I have time to blog more after this semester… Maybe I will start a series of tutorials about best practices regarding the workflow with PHP components and the tools available.