Security Corner: PHP, meet Libsodium
By Eric Mann By the time you read this, the PHP community should have introduced the world to the newest version of our favorite language. This latest version adds better support for type annotations, allows trailing commas in lists (just like JavaScript and other dynamic languages) and introduced several security improvements. The most notable security […]
Managing Private Dependencies
Using Composer and a private package server is the most efficient way to manage private dependencies with PHP. I recommend using the software as a service, Private Packagist, or Satis, the open source, self-hosted package server. In this article, I’ll show you how to easily set this up for your own projects.
Episode 2: Embracing Change
Welcome Welcome to the second episode of the php https://s3.amazonaws.com/phpa_media/podcast/2017-09-Vol16-Issue9-final.mp3Podcast (episodes): Play in new window | Download | Subscribe. In this episode, we take a look at the September 2017 issue and the topic of managing changes both in your application and career. Topics Oscar Merida discusses version control and testing as tools to manage […]
Generating an Autoloader for a Legacy PHP Codebase
If you’ve inherited a legacy code base, you may find it does not use an autoloader and has an idiosyncratic directory and file hierarchy for its Classes, Interfaces or Traits. Worse yet, it might not use name spaces consistently or at all. So you can’t use a PSR-4—or even PSR-0—autoloader with your code. Well, why […]