PHP Annotated Monthly – December 2017
Its the last PHP Annotated Monthly of 2017 — all the links to all the blog posts you need to read curated by Gary Hockin, Developer Advocate for PhpStorm.
PHP, Testing & Development
It’s the most wonderful time of the year! No, not because of the holidays (they are pretty special too), but because we’ve had a new version of PHP released. PHP 7.2 has arrived, and I’d like to send a huge THANK YOU from everyone at JetBrains to everyone who was involved in the release. As usual, I want to bore everyone by reminding you that if you’re not running PHP 7, you’re now lagging seriously behind, it’s time to update!
Two posts worth reading in relation to PHP 7.2 are Get Ready for PHP 7.2 which gives you a good idea of how to go about preparing for an upgrade of your code to the newest versions of PHP and Installing PHP 7.2 by Colin O’Dell who gives you some great information on how to upgrade your development environment to PHP 7.2.
- SOLID Principles Made Easy
- Domain-Driven Design – Language
- Managing Your Dependencies in PHP
- CLI Command to Whitelist Composer Packages
- PHP Security Advent Calendar 2017 Announcement
- A Decision Matrix
- An Approach to Testing Middleware
- Anatomy of a PHP Hack
- How to Read Big Files with PHP (Without Killing Your Server)
- Extending Final Classes and Methods by Manipulating the AST
- So You Ran Composer As Root…
- PHP Versions Stats – 2017.2 Edition
Frameworks and Libraries
Symfony 4.0.0 Released! Congratulations to Fabien and the team in releasing a new major version. It ships with Symfony Flex which is a new Symfony specific dependency manager (built on Composer), you can read more at An Update on Flex. Like more and more modern tools, it also targets PHP 7.1 and above, so please see my above note on upgrading your PHP version!
Laravel
- Create Live Search In Laravel Using AJAX
- Simple PDF Rendering with Laravel
- Simplified and Community-Driven Man Pages
- Task Scheduling in Laravel
- Laravel 5.6 Preview – Single Server Scheduling
- Laravel & Docker, Zero Config with Vessel
- Gates and Policies in Laravel
Zend Framework
- A New Release of Zend-db
- What Does It Take To Start Using Zend Expressive?
- Implementing CORS in Zend Expressive
Symfony
- Namespaces and Organizing Business Logic Services in Symfony
- New Hope
- Adding a GraphQL API to Your Symfony Flex Application
- Four Things I Like About Symfony 4
- Symfony Flex Private Repositories
Yii
Other
- From Promise To Stream And Vice Versa
- Extending ReactPHP’s Child Processes Part Two
- How to Manage Multiple Applications in CodeIgniter
- Unit-Testing Promises
Community, Career, and Events
PHP Architect December 2017 Issue Released – Talking Code and Symfony announced The Diversity Initiative which is an excellent idea from a community that has had a spectacular month. Congratulations again to everyone involved in Symfony.
2017 has been another fantastic year for PHP, we’ve had significant version releases in many notable projects and Composer continues to revolutionise the way we develop in PHP. There’s no reason not to think that PHP will continue its renaissance into 2018 and way beyond so let me wish you a Happy Holiday season whatever you celebrate, and a prosperous and release filled new year.
– Gary & The PhpStorm Team