PHP Annotated Monthly – April 2017

PHP Annotated Monthly Logo

As the nights get longer and the sun shows itself a little more, Gary Hockin, Developer Advocate for PhpStorm at JetBrains, rounds what’s new in PHP… it’s PHP Annotated Monthly.

PHP and Development

Another slew of new PHP versions last month, with PHP 7.1.3 and 7.0.17 released. The newest version of PHP 5 (and only supported version) is 5.6.30. I know, I go on about this every month, but if you’re running anything lower than PHP 5.6, then you’re unsupported. Even if you are running PHP 5.6 you’re only supported for security patches (and then only until the end of next year). You probably should consider upgrading.

Frameworks and Libraries

Once again we’re having Laravel (and Zend Framework) heavy, and that’s not by design. I try to use public RSS services to aggregate articles from multiple sources, including PHP Weekly and PHP Developer, but it’s time-consuming and difficult to collate all the links I think are interesting enough to the entire community to include here. If I’ve missed your framework or library article, I’m sorry, but I just didn’t think they would fit in an article that targets the entire PHP community.

Thanks to  for pointing me in the direction of some Yii content – get in touch if you’d like to do the same for your framework of choice.

Zend Framework

Laravel

Symfony

Yii

Other

Community, Career, and Events

It was sad to see the conversation in and around the Drupal community for all the wrong reasons in the last few weeks. While it’s not the platform to vent my opinion, I sincerely hope that the friction between the Drupal leadership and one of its long-time community leaders can be solved.

Lots of conferences have open CFP at the moment including the fantastic Pacific Northwest PHP, and lots of places are selling tickets, including my favorite conference (and not just because I’m an organizer) PHP South Coast.

We hope you have an excellent April, and we’ll speak to you all again soon.

If you are not subscribed yet, don’t forget: you can now get PHP Annotated Monthly delivered to your inbox, so you’ll never miss the monthly roundup again. Sign up here and get next month’s PHP Annotated Monthly delivered right to you.

– Gary & The PhpStorm Team

About Gary Hockin

Gary Hockin has been creating code to power web applications for 15 years, the last three of them at an extraordinary level. He is handsome, talented, funny and articulate, and also extremely modest. Gary is a valued contributor to Zend Framework 2 and is a member of the community review team. He's married and has two wonderful children, and when he's not coding, writing about code, speaking about code or reading about code, he can usually be found in the pub playing pool.
This entry was posted in PHP Annotated Monthly. Bookmark the permalink.
  • disqus_lTzByIY5ee

    so we no longer can use early access program longer than 1 month?

    • Anna Lebedeva

      you can use EAP as long as it’s running. E.g. now the Early Access Program is closed as we’ve just released the 2017.1.1 version. It will be open soon for a next major update.

  • spetz83

    I’ve gotta say… I’m kinda surprised that you linked to that click baity doctrine dying article…

    • GeeH

      I thought it was interesting, I see no problem with linking to content even if it’s a little contentious.

      • https://www.tomasvotruba.cz/ Tomáš Votruba

        I’m bit confused by your double answer. Do you censor post somebody disagree with or are you open to non-mainstream opinions?

        I’m just curious as an author of that post, what is the approval process. I tend to write about topics that argue with status quo and I think it’s important to read opinions of other side. Not just delete them because they don’t fit in standards.

        Yet I still respect your choice, since it’s your responsibility and people are rating you too, based on content. Just curious about reasons. Thanks

        • GeeH

          So here’s what happened Tomas, I’m guilty of not reading your post correctly. Twice. At first I scanned the article and marked it to read later and included it. When it was called out I re-scanned it and saw the title “Donate Your Liver, For Free” and then assumed this was not a real article but a clickbait – I was wrong. Please accept my apologies, I’ve added it back in. I’m guilty of shoddy reporting here and I’ll try harder in future.

          • https://www.tomasvotruba.cz/ Tomáš Votruba

            Oh, I’m glad it’s that way and not about the content. Thanks for explaining, I’ve a great relive.
            Sometimes I write titles as metaphors. For others: it was not post about liver donation :D.

            My deep apologies I was so zealous at you. I didn’t really understand the situation and made hasty and wrong conclusion with very few information.

            Thank you for your empathy, I feel really great now.

            Have an awesome weekend.

    • GeeH

      Actually I read past the first paragraph and you’re right – my mistake!

      • spetz83

        No worries. As always, these PHP Annotated Monthly’s are great. Love reading through all these articles that I sometimes never would come across otherwise. That one article was just off to me, as compared to all the others you have curated in the past.

        • Dean Smith

          I agree, the Doctrine article (‘Why is Doctrine Dying’) is deeply flawed and I do not think you should promote it. This is not about not liking alternative views – and I have no relationship with the Doctrine maintainers and my own complicated relationship with using Doctrine – but the article is inaccurate and uninformed and should not be rewarded with attention.

          The authors mistakenly equates Symfony and Laravel (frameworks) with Doctrine (infrastructure packages). He then argues that Doctrine is dying because it has not been adding new features or radically changing it’s structure recently like Symfony and Laravel.

          This is simply an incorrect comparison. Leaving aside the relative resources of SensionLabs that maintain Symfony and the open source Doctrine project, Doctrine is a series of infrastructure packages and not a framework. It is the equivalent of saying that a SQL driver is dying because it has not evolved. It has not; because it should not if it is mature and stable, otherwise it would be a maintenance nightmare in your applications!

          The author has a couple of suggestions for his imagined problem, which have their own problems but I won’t go into. It is an interesting sidenote to look at the Packagist download statistics for the ORM/DBAL/cache components (as a proxy for usage). They show an almost year-on-year doubling in downloads.

          https://packagist.org/packages/doctrine/dbal/stats
          https://packagist.org/packages/doctrine/orm/stats
          https://packagist.org/packages/doctrine/cache/stats

          Keep up the good work Doctrine maintainers and I hope that, if nothing else, this article helps you attract more support!

  • Seb Schuh

    Thanks for the links Gary, so much interesting stuff, so little time…