Building a PHAR for a PHP project! Some in the PHP community have said the PHP developers have too much Java envy. I am not exactly sure what they mean. As long as PHP adopts good practices from Java development I am all for it! One of the practices that I am glad that is now in PHP is the single PHAR archive for PHP applications.
Beware a PHAR requires absolute paths! Hopefully, this post save a PHP developer some time.
EMRIS a perfect fit for Microservices Microservices, a new old flavor of the the month?
*Composer Autoloading Not Just for Vendor Files* Teacher can and should learn from students! That is one of the things I find very satisfying about being an adjunct professor at Weber State University. The fact that I can learn new and usual things from those I teach. Last night was one of those times. In fielding questions about a PHP project a comment came up about multiple autoloaders. In the first project I had the students create their own autoloader.
Implementing a local Packagist with Satis Many large companies, including the one I am currently working for FamilySearch, Intl., operate many servers that do not have connectivity to the internet at large. In other words, they cannot reach Packagist rendering using composer useless. Luckily, the developers at composer have provided a solution to the above problem, private packages. I had been using composer for awhile but was un-aware of Satis or Toran Proxy until I attend Rafael Dohms Composer: The Right Way at php[world] 2014 in Washington, D.