Notable PHP package: PHPF

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 258

Last month viewers: 1

Categories: Notable Packages

Many PHP developers are now writing code that follows PSR recommendations from the FIG (Framework Interoperability group), so it becomes easier to collaborate in projects on which all developers follow the same coding standard recommendation.

However, there are many developers that have not converted their code because it takes too much effort to do it manually.

This package can do it automatically for you. It can parse your PHP code and rewrite it to comply either PSR-1 or PSR-2 recommendations.

Read this article to learn more details about how this notable PHP package works.


 



The package PHPF is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Reformat PHP scripts according to code style

Here follows in more detail what it does:

This package can reformat PHP scripts according to code style.

It can take a PHP script and reformat it in different coding styles supported by the package.

Currently it can reformat code according to CakePHP style, PSR-1 or PSR-2.

It provides several options that control the format of the output script like:

- Reformat class constructors
- Save script to a file and the original to optional a backup file or just simulate actions
- Ignore names with certain format patterns
- Lint PHP code before reformatting
- Generate getters and setters
- Etc.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

For more information send a message to info at phpclasses dot org.