News Feed
Sections




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

Community News:
Latest PECL Releases for 04.21.2015
April 21, 2015 @ 07:07:33

Latest PECL Releases:
  • lzf 1.6.3 - PHP 7 compatibility - move liblzf sources to /lib directory - add --with-liblzf option to use system liblzf - add LICENSE file in documentation - adapt Windows build (Anatol) - add arginfo for reflection

  • hprose 1.4.2 Fixed segmentation fault when serialize/unserialize custom PHP class object on Non Thread Safe (NTS) PHP.

  • xattr 1.2.1 - PHP 7 compatibility (Remi) - add LICENSE to documentation - add arginfo for reflection (Remi) - add a test for set/get/list/remove functions (Remi)

  • amqp 1.6.0beta3 1.6.0beta3 Release: * Add basic.recover AMQP method support (see AMQPChannel::basicRecover() method) (Bogdan Padalko) * Fix building on OS X (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0beta2...v1.6.0beta3 1.6.0beta2 Release: * Pulled 1.6.0beta1, as it had the stable tag For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.6.0beta1...v1.6.0beta2 1.6.0beta1 Release: * Add support for nested arguments values (Bogdan Padalko) * Add auto_delete and internal flags support for AMQPExchange::declare (librabbitmq version > 0.5.2 required) (Bogdan Padalko) * Fix persistence support (Bogdan Padalko) * Add AMQPExchange::unbind method and fix AMQPExchange::bind method. WARNING: this can potentially break BC (Bogdan Padalko) * Add support to consume messages from multiple queues (Bogdan Padalko) * Add AMQP_DURABLE flag support to AMQPExchange::setFlags (librabbitmq version > 0.5.2 required) (Bogdan Padalko) * Fix inconsistent INI values comparison which leads to deprecation warnings (Bogdan Padalko) * Various segfault and memory leak fixes (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.4.0...v1.6.0beta1 1.4.0 Release: * Fix #72: Publishing to an exchange with an empty name is valid and should not throw an exception (lstrojny) * Fix #77: AMQPQueue::delete() now no longer returns a boolean, but an integer of how many messages were deleted. WARNING: this can potentially break BC (Bogdan Padalko) * Fix #75: adhering to the AMQP spec by closing channel and sometimes even the connection in case of certain errors (Bogdan Padalko) * Fix #81: Add optional arguments parameter to bind()/unbind() (Michael Squires) * Fix #82: additional getters (getChannel(), getConnection()) (Bogdan Padalko) * Fix #92: fix various memory leaks in the AMQPConnection class (Lars Strojny) * Using amqp_error_string2() instead of deprecated amqp_error_string() (Lars Strojny) * Fix memory leaks in setHost, setLogin, setPassword, setVhost (Lars Strojny, Bogdan Padalko) * Fixed a memleak in php_amqp_connect (Julien Pauli) * Use rabbitmq-c defaults for max channels and default frame size (Bogdan Padalko) * Fix socket timeout error when connecting over high-latency network (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.3.0...v1.4.0 1.3.0 Release: * Allow retrieving auto-delete exchanges (Guilherme Blanco) * Add connection timeout support. This requires bumping the version requirement for librabbitmq to >= 0.4.1 (Bogdan Padalko) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.2.0...v1.3.0 1.2.0 Release: * New methods AMQPChannel::getPrefetchCount() and AMQPChannel::getPrefetchSize() * Deprecate AMQPQueue::declare() in favor of AMQPQueue::declareQueue() * Deprecate AMQPExchange::declare() in favor of AMQPExchange::declareExchange() * Smaller fixes to our stubs For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.0.10...v1.2.0 1.0.10 Release: * report correct version in module info (Lars Strojny) * fix class interface definitions (Vladimir Kartaviy) * add ability to bind a queue with an empty routing key (Vladimir Kartaviy) * fix constant AMQP_IFUNUSED (Florin Patan, Bernhard Weisshuhn) * added stubs for ide use (Vladimir Kartaviy, Bernhard Weisshuhn) * Fixed memory leak in queue->declareQueue (Ilya a.k.a. coodix) * support for php 5.5 (Lars Strojny) * add support for read and write timeouts (Bogdan Padalko) * fix memory leak in queue->consume (Dmitry Vinogradov) * add support for custom exchange types (empi89) * support for nested custom headers (Bernhard Weisshuhn) * fix memory (Bernhard Weisshuhn) For a complete list of changes see: https://github.com/pdezwart/php-amqp/compare/v1.0.9...v1.0.10 1.0.9 Release: * Fix pecl relase 1.0.8 Release: * Skip var_dump test on PHP 5.2 * Initialize consumer tag string length to zero * Support connection time outs * Adding consumer_tag parameter to AMQPQueue::cancel * Clean up error code handling 1.0.6 Release: * 62354: Segmentation fault when printing or dumping an object that contains an AMQP object * Adding in missing tests * Fixing release number in PHP information * Adding .gitignore info for Git users * Cleaning up debug handling 1.0.5 Release: * 62696: Incorrect exchange type * Handles server connections being closed during consume and publish correctly * 62628: Exception thrown in consume will lock PHP * 61533: Segmentation fault when instantiating channel, queue or exchange with wrong object, then using it 1.0.4 Release: * 62549: Fixing broken persistent connection * 62412: Fixing segfault due to destruction order * 62411: Fixing declaration overload bug * 62410: Fixing declaration overload for 5.4 * 61337: Adding License file * 61749: Fixing handling for binary content in envelope * 62087: Adding appropriate version information * 62354: Enabling debugging dumping of objects * 61351: Updating min PHP version requirements to 5.2.0 1.0.3 Release: * Fixing compilation issue with PHP 5.4 1.0.2 Release: Fixed bug: * Memory leak when using AMQPQueue::get from a queue with no messages 1.0.1 Release: Fixed bug: * 61247: Allow queue creation with empty queue name, and return auto generated name * 61127: Segmentation fault when cleaning up an AMQPChannel without calling AMQPConnection::connect first 1.0.0 Release: Changed/finalized API signature: * Exposing AMQPChannel * Exposing AMQPEnvelope * Exposing more queue and exchange arguments and flags * Exposing basic.qos Added persistent connections Cleaned up codebase Fixed memory leaks and segmentation faults 0.3.1 Release: Fixed bug: * 24323: Cannot get the name for auto-named reply-to queues 0.3.0 Release: Fixed memory leaks in many functions (courtesy Jonathan Tansavatdi and Andy Wick) Fixed consume method to return proper values Cleaned up variable usage Fixed bugs: * 22638: Unexpected exit code 1 with AMQPQueue::consume() * 22698: AMQPQueue::consume 0.2.2 Release: Made extension compatible with PHP lt 5.3 (courtesy John Skopis) Fixed wrong typing of message properties (courtesy John Skopis) 0.2.1 Release: Fixed refcount decrementing bug causing segfaults. 0.2.0 Release: Works with AMQP 0-8 and 0-9-1 (used by RabbitMQ 2.*) Modified AMQPConnection object: * Requires call to 'connect' method to connect (no longer connects on instantiation) * Added support for disconnect and reconnect * Added helper setters for port, host, vhost, login and password Improved consume method to block for MIN messages, and try to get MAX messages if available Fixed zval descoping bugs Fixed bugs: * 17809: Couldn't compile pecl extension under PHP 5.3 * 17831: Segmentation fault when the exchange doesn't exists * 19707: AMQPQueue::get() doesn't return the message * 19840: Connection Exception

  • zip 1.12.5 - add OPSYS_Z_CPM missing constant - Fixed bug #69253 (ZIP Integer Overflow leads to writing past heap boundary). (CVE-2015-2331) (Stas)

  • libsodium 0.1.3 crypto_scalarmult() has been added.

  • timezonedb 2015.3 Updated to version 2015.3 (2015c)

  • swoole 1.7.15 - Fixed swoole_client waitall parameters failures - Fixed swoole_table dead loop BUG - Disable swoole_websocket_server->send method - Added swoole_table->incr/decr methods - Added http server gzip compression supports - Added swoole_server open_eof_split configuration

  • ZendOpcache 7.0.5 - Fixed bug #69281 (opcache_is_script_cached no longer works) - Fixed bug #68677 (Use After Free in OPcache) - Make killing a locker an ERROR event - Fixed bug #69125 (Array numeric string as key) - Fixed bug #69038 (switch(SOMECONSTANT) misbehaves) - Fixed segfault while running with moodle

0 comments voice your opinion now!



Symfony Blog:
SymfonyCon Paris is announced December 3-5!
April 20, 2015 @ 12:11:56

The Symfony blog has officially announced SymfonyCon Paris including its dates - December 3rd through 5th.

We're so thrilled and excited to announce SymfonyCon Paris! We've just confirmed the official dates, SymfonyCon Paris 2015 will be December 3-5 in a famous Parisian theater: Les Folies Bergère!

To celebrate Symfony's 10th birthday it was logical to come back to Symfony's hometown. As you were (almost) all asking for it, there was nothing more to convince us to do it in Paris. But Paris, is a very big city, with a lot of venues and this year is so special… To celebrate Symfony's birthday, we picked up a magical venue… Welcome to les Folies Bergère! It's downtown Paris and very easy to access wherever you are in Paris.

You can pick up Early Bird tickets right now from the conference site. If you're of the speaking sort, you could also submit to the Call for Paper that's open until June 30th. There will be workshops happening before the conference and the 5th will be a "hackday" for those wanting to gather with fellow Symfony developers and work out some code.

0 comments voice your opinion now!
symfonyconparis15 symfonycon paris conference december

Link: http://symfony.com/blog/symfonycon-paris-is-announced-december-3-5

Sound of Symfony Podcast:
Episode 7 - Talking about tools
April 20, 2015 @ 11:52:19

The Sound of Symfony podcast has returned with a new episode (#7) where they talk about tools and catch up on some of the news they missed while they were out.

In this much delayed episode we discuss the huge backlog of news that we've missed, we talk to Benjamin Eberlei about development tools, and we talk about the upcoming Symfony conferences. Next episode will be released on May 17th.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3. If you enjoy the show be sure to subscribe to their feed to get the latest shows as they're released.

0 comments voice your opinion now!
soundofsymfony podcast ep7 tools benjamineberlei symfony

Link: http://www.soundofsymfony.com/episode/episode-7/

Alex Bilbie:
Setup Jenkins and test a PHP project
April 20, 2015 @ 10:14:32

Alex Bilbie has posted a new tutorial to his site showing you how to set up Jenkins to test a PHP project. Jenkins is a popular automated build tool that can be used to do helpful things like automatically run unit tests and execute other tasks when code changes happen (or on an automated schedule).

After a chat with some other developers on Twitter the other day I offered to write a tutorial on how to setup Jenkins from scratch and create a job to test a PHP project. For this tutorial I'm going to use a Digital Ocean droplet (get $10 free credit with this link) but you can use a server from anywhere. Once I've installed and setup Jenkins I'm going to create a job to test my Proton framework.

He walks you through the setup of the server (Ubuntu running on a Digital Ocean instance) and the commands you'll need to get the required tools installed, including Jenkins. He configures Nginx to work as a proxy for the Jenkins installation (config included) and how to secure the installation. This is done via a GitHub OAuth connection and plugin. He helps you get Composer installed, an SSH in place for committing back to GitHub and creating a first job. He also includes a listing of several helpful tools that can be used to test your scripts and applications to provide more detail and better quality to the resulting code.

0 comments voice your opinion now!
jenkins test setup project tutorial digitalocean ubuntu

Link: http://alexbilbie.com/2015/04/setting-up-jenkins/

Laravel News:
ArtisanConf - A new Laravel Conference in London
April 20, 2015 @ 09:34:00

The Laravel News site has a post talking about a new Laravel-related conference happening in London on July 9th and 10th (at the Barbican): ArtisanConf, "the premier UK conference for Laravel and modern PHP enthusiasts. Up to 300 artisans will convene in the heart of London's Tech City for two days of inspirational talks, engaging networking and amazing learning opportunities."

Jonty Behr is one of the organizers of ArtisanConf, and I asked him why he decided to start this new conference. "Laravel is incredibly popular in the UK, and a lot of developers have been requesting a UK based conference for a while. Although the guys at LaraconEU do an amazing job, not all developers in the UK are able to travel to Amsterdam and we hope to help, educate and build their experience within the community."

The conference already has some amazing (and well known) speakers lined up. Plus they are hoping that there will be something for both beginners and the experienced at ArtisanConf. There will be two full days of talks and more details will be released soon.

You can already pick up tickets from the conference site or, if you'd like a chance at speaking, head over and submit to their Call for Papers.

0 comments voice your opinion now!
artisanconf15 laravel conference london july callforpapers tickets

Link: https://laravel-news.com/2015/04/artisanconf/

Three Devs & A Maybe:
Episode 61 - Conference Experiences, RFC's & The PHP League with Phil Sturgeon
April 20, 2015 @ 08:58:40

The Three Devs and a Maybe podcast has posted an episode recently talking about some of their own experiences at conferences, RFCs and an interview with special guest Phil Sturgeon.

This episode we are fortunate enough to have Phil Sturgeon back on the show. Originally recorded on the 11th Feb and only now being released (blame Edd), the show starts of with a comparison between Phil and Fraser's snowboarding injuries. We then move on to discuss standing desks, Sunshine PHP, American weather, and conference experiences. Following this DDD (Development Driven Development...) is touched upon, along with a look at the current stack Phil is using at work. Finally we chat about the 'attack-of-the-clone' packages Phil has noticed around the PHP community (ultra-tiny-small-restful frameworks etc.) and how far the 'The League of Extraordinary Packages' has grown.

They talk some about The League but also about other topics including the No Capes podcast, the PHP UK Conference, the domain-driven design community and scalar type hints. You can listen to this recent episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the show, consider subscribing to their feed too.

0 comments voice your opinion now!
threedevsandamaybe podcast ep61 conference experience rfc thephpleague philsturgeon

Link: http://threedevsandamaybe.com/conference-experiences-rfcs-and-the-php-league-with-phil-sturgeon/


PHP.net:
PHP 5.6.8, 5.5.24 & 5.4.40 Released (Security Fixes)
April 17, 2015 @ 09:38:18

The PHP development group has released several different versions of PHP for the 5.5.x, 5.6.x and 5.4.x series with a long list of security issues fixed in each one (fourteen in total):

The PHP development team announces the immediate availability of PHP [5.4.40, 5.6.8, 5.5.24]. 14 security-related bugs were fixed in this release, including CVE-2014-9709, CVE-2015-2301, CVE-2015-2783, CVE-2015-1352. All PHP 5.4 users are encouraged to upgrade to this version.

Other items were fixed besides the security issues, so check out the Changelog to see those few other fixes. It's highly recommended that you update your installations to these latest versions. You can grab the latest either from the downloads page (source) or Windows users can go to winodws.php.net.

0 comments voice your opinion now!
language release multiple security fix changelog upgrade

Link: http://php.net/archive/2015.php#id2015-04-16-3

Slim Framework Blog:
Lumen
April 17, 2015 @ 09:34:17

Josh Lockart, the lead developer and creator of the Slim framework, has responded to some questions and comments around the recently released Laravel microframework Lumen and how it relates to Slim and its own goals.

Lumen happened. It's a shiny new micro-framework from Taylor Otwell, and it joins the Laravel family today. It looks to be a pretty nice framework, and it shares many of the same features and goals as Slim 3.0. I'm sure this raises a few question about Slim's future roadmap. [...] Is there overlap between Slim and Lumen? Of course. They both have similar goals and solve similar problems. There are also differences.

He talks about some of the current work being done on version 3.0 of Slim, the PSR-7 support it offers and some of the differences between Slim and Lumen. He points out two main ones: that Slim has fewer dependencies and that it is a supporter of the PSR-7 HTTP interoperability standard. Josh talks about why you might choose Lumen over Slim and that, in the end, he welcomes alternative microframeworks and challenges the Slim community to help consistently improve Slim and its place in the community.

0 comments voice your opinion now!
slimframework slim lumen respond opinion framework laravel microframework

Link: http://www.slimframework.com/2015/04/14/lumen.html

IBM developerWorks:
PHP renewed Password security in modern PHP
April 17, 2015 @ 08:53:15

The IBM developerWorks site has a new tutorial posted talking about how PHP has been "renewed" in recent versions, more specifically in the password security department.

When PHP was first crafted in the mid-1990s, the term web application didn't even exist yet. Password protection, then, wasn't one of the features that the PHP creators devoted resources to. After all, you didn't need to worry about passwords when you used PHP just to put a site-visit counter or a date-modified stamp on your web page. But 20 years have passed, and now it's almost unthinkable to create a web application that doesn't involve password-protected user accounts. It's of the utmost importance that PHP programmers safeguard account passwords by using the latest and most secure methods.

The article goes on to talk about the importance of using secure hashing methods for password storage, the speed at which "cracking" programs can run and the use of "rainbow tables". It then gets into some of the older methods commonly used for password storage and protection and shows how to refactor them into the new password hashing functionality introduced in PHP 5.5.

0 comments voice your opinion now!
password security hashing renewed modern language release

Link: http://www.ibm.com/developerworks/web/library/wa-php-renewed_2/index.html


Community Events

Don't see your event here?
Let us know!


version introduction language laravel interview example release api library community opinion voicesoftheelephpant unittest framework series conference laravel5 php7 podcast extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework