2014年5月3日星期六

Community News: Packagist Latest Releases for 05.03.2014

Recent releases from the Packagist:

2014年5月2日星期五

Site News: Popular Posts for the Week of 05.02.2014

Popular posts from PHPDeveloper.org for the past week:

Community News: Packagist Latest Releases for 05.02.2014

Recent releases from the Packagist:

Stephan Hochdörfer: Speeding up your Satis run


Stephan Hochdörfer has a new post with a handy tip on speeding up the indexing Satis does on your local repositories to generate its information. His tip involves being more selective in the rebuild process, only indexing the projects that might need it.



In the last couple of months this [indexing] process takes quite a while because Satis rebuilds the index for every repo it knows about. Since we deal with quite a few repos containing a large amount of versions it slowed down the "build time". Obviously it does not make any sense to run Satis on a repo that has not changed. Since Satis was lacking this feature I started hacking on it and I am happy that the feature got merged into master this morning.


With his patch, you can specify only the repository you want reindexed via the "build" command. You can even specify multiple repositories to rebuild, allowing for a bit more automation around the process.


Link: http://blog.bitexpert.de/blog/speeding-up-your-satis-run/

PHP.net: PHP 5.4.28 Released


The PHP development group has officially release the latest update for the stable PHP 5.4.x line - PHP 5.4.28.



The PHP development team announces the immediate availability of PHP 5.4.28. 19 bugs were fixed in this release, including CVE-2014-0185. All PHP 5.4 users are encouraged to upgrade to this version.


The CVE fix involves an issue around a PHP-FPM bug that could allow for privilege escalation due to default permissions. Users of previous releases in the PHP 5.4.x series and PHP-FPM are strongly encouraged to update to this latest release. You can download this release from the main downloads page (Windows users go here.


Link: http://php.net/index.php#id2014-05-01-1

SitePoint PHP Blog: Using Solarium with SOLR for Search - Setup


The SitePoint PHP blog has posted a tutorial showing you how to use the Solarium library to search SOLR. Solarium is a PHP-based, open source tool that helps make interfacing with a SOLR search instance much easier. This post is part one of a larger series covering the combination of SOLR and Solarium.



Apache's SOLR is an enterprise-level search platform based on Apache Lucene. It provides a powerful full-text search along with advanced features such as faceted search, result highlighting and geospatial search. [...] If you're using PHP then the Solarium Project makes integration even easier, providing a level of abstraction over the underlying requests which enables you to use SOLR as if it were a native implementation running within your application. In this series, I'm going to introduce both SOLR and Solarium side-by-side.


He starts with some of the basic concepts behind what SOLR is, what kinds of things it's useful for and how to get it installed on your system (using Homebrew). He shows how to set up a sample schema including a detailed look at the different types and required fields it will need. As this is just the first part of the series, it stops there and will get into the actual PHP code for the interface in the next edition.


Link: http://www.sitepoint.com/using-solarium-solr-search-setup/

PHP.net: PHP 5.6.0beta2 released


The PHP development group has officially released the latest beta in in the PHP 5.6.x series - PHP 5.6.0beta2. This is a development release and should not be used in production.



The PHP development team announces the immediate availability of PHP 5.6.0beta2. As we entered the feature freeze with beta1, this release is almost exclusively a bugfix-only release. All users of PHP are encouraged to test this version carefully, and report any bugs in the bug tracking system.


Among the new features added in this new beta are things like the watchpoint support for phpdbg and a new fetching mode for mysqlnd which uses less memory but implies more memory copy. For more information about the other changes included in this release, check out the evolving documentation or the full NEWS file. You can download this beta from the QA download page (or for the Windows users, here).


Link: http://php.net/index.php#id2014-05-02-1