18 May 2018

feedPlanet PHP


August - US
Presented By

Adam Culp
August 23, 2018
20:00 CDT

The post PHP-1701-A appeared first on Nomad PHP.

18 May 2018 5:55pm GMT

Building Lego Robots with PHP

August - EU
Presented By

Christopher Pitt
August 23, 2018
20:00 CEST

The post Building Lego Robots with PHP appeared first on Nomad PHP.

18 May 2018 4:02am GMT

15 May 2018

feedPlanet PHP

Interview with Margaret Staples

@dead_lugosi Audio Show Notes Twilio LongHorn PHP Conference My first interview with Margaret. This episode is sponsored by Thermo.io.

The post Interview with Margaret Staples appeared first on Voices of the ElePHPant.

15 May 2018 11:30am GMT

PHP Versions Stats - 2018.1 Edition

It's stats o'clock! See 2014, 2015, 2016.1, 2016.2, 2017.1 and 2017.2 for previous similar posts.

A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org logs of the last month for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see which PHP versions people are using Composer with.

PHP usage statistics May 2018 (+/- diff from November 2017)

All versions Grouped PHP 7.2.4 7.54% PHP 7.1 35.02% (-1.61) PHP 7.1.16 7.41% PHP 7.0 23.02% (-7.74) PHP 7.0.28 5.54% PHP 7.2 20.18% (+20.18) PHP 7.1.15 4.11% PHP 5.6 16.48% (-6.8) PHP 7.2.3 3.85% PHP 5.5 3.50% (-2.61) PHP 7.1.14 3.79% PHP 5.4 1.04% (-0.47)

A few observations: PHP 7.1 is still on top but 7.2 is closing real quick with already 1/5th of users having upgraded. That's the biggest growth rate for a newly released version since I have started collecting those stats. Ubuntu 18.04 LTS ships with 7.2 so this number will likely grow even more in the coming months. 78% of people used PHP 7+ and almost 95% were using a PHP version that is still maintained, it sounds too good to be true. PHP 5.6 and 7.0 will reach end of life by late 2018 though so that's 40% of users who are in need of an upgrade if we want to keep these numbers up!

Here is the aggregate chart covering all my blog posts and the last five years.

PHP requirements in Packages

The second dataset is which versions are required by the PHP packages present on packagist. I only check the require statement in their current master version to see what the latest requirement is, and the dataset only includes packages that had commits in the last year to exclude all EOL'd projects as they don't update their requirements.

PHP Requirements - Recent Master - May 2018 (+/- diff from Recent Master November 2017)

5.21.16% (-0.12) 5.315.9% (-2.85) 5.416.59% (-3.7) 5.515.52% (-3.55) 5.619.57% (-0.83) 7.019.47% (4.62) 7.111.15% (5.83) 7.20.64% (0.61)

This is as usual lagging behind a little but PHP 7 is finally seeing some real adoption in the OSS world which is nice.

15 May 2018 8:00am GMT

Book review: Fifty quick ideas to improve your tests - Part 1

15 May 2018 7:11am GMT

14 May 2018

feedPlanet PHP

PHP-GTK.eu End of Life and GDPR

If you're reading the PHP-GTK.eu community site these days, you certainly noticed that not a single piece of significant content was created since 2015, and not much since 2013.

Whatever this may mean for PHP-GTK itself is another issue, but for the site itself, it means it ceased to be relevant about 5 years ago, and it's time to move on for the site members. Since the site contains non-anonymous user, it will fall under the new EU GDPR regulations entering into force on 2018-05-25, and there is no point for me to spend time on evolving the site towards compliance when no one is actually using it.

So here is the EOL announcement: the site will be shutting down on 2018-05-24 and its data will taken offline.

A static version of the articles may be published again at some point here or elsewhere, but I wouldn't hold my breath on it. So if you have even some interest in the site content, be sure to copy/paste the pages of interest before it goes dark on 2018-05-24. Or contact me if you want a copy of the files and content, or check my blog for newer content.

Thanks all for participating, it's been a pleasure while it lasted.

read more

14 May 2018 9:08am GMT

09 May 2018

feedPlanet PHP

Atlas 3.x (“Cassini”) and PHPStorm Completion

I'm proud to announce the release of Atlas.Orm 3.0.0-beta1, along with releases of the supporting Mapper, Table, Query, Cli, and Pdo packages. (Atlas is a data-mapper for your persistence model, not your domain model, in PHP.) The goal for this release round was "better IDE return typehinting support" and I am happy to say that … Continue reading Atlas 3.x ("Cassini") and PHPStorm Completion

09 May 2018 3:13pm GMT

08 May 2018

feedPlanet PHP

Interview with TJ Gamble

@ecommerceaholic Audio Show Notes The Ecommerce-aholic Youtube channel Jamersan - TJ's Magento agency TJ's Live Stream with me as a guest. My first interview with TJ. This episode is sponsored by Nexcess.

The post Interview with TJ Gamble appeared first on Voices of the ElePHPant.

08 May 2018 11:30am GMT

Book review: Discovery - Explore behaviour using examples

08 May 2018 8:00am GMT

04 May 2018

feedPlanet PHP

Interview with Nils Adermann and Jordi Boggiano

naderman seldaek Audio Show Notes Composer Packagist Private Packagist This episode is sponsored by Thermo.io

The post Interview with Nils Adermann and Jordi Boggiano appeared first on Voices of the ElePHPant.

04 May 2018 11:00am GMT