Operations | Monitoring | ITSM | DevOps | Cloud

PHP

Making our Laravel test suite ready for parallel testing

To make sure that our service is working correctly, we have a suite of automated tests. The test suite is executed when we make changes and deploy something to production. Using the new parallel testing feature that recently landed in Laravel, we managed to run our testsuite about four times faster. Here is the test output when running all tests sequentially. The time needed is 4m28s. And here's the test output when using parallel testing. It only took 1m05s.

Why we ditched Lumen PHP

Lumen is a stripped down version of the powerful and now very popular Laravel PHP framework, focused on performance and serving stateless requests. I doesn’t have all the bells and whistles of Laravel, but it also doesn’t need them when serving API requests. For example, sessions, cookies and views are not a part of Lumen. It’s not intended for serving websites so everything around that got ditched.

The 9 Most Popular PHP Frameworks for Developers

Web development before the age of web frameworks is difficult to imagine. Setting up a robust, dependable web app from scratch is a daunting task that requires years of knowledge and experience. Nowadays, however, with the help of effective, easy to use web frameworks, it doesn’t take more than a few minutes to get going.

Seamlessly Immunize Binaries Flowing through Artifactory with RunSafe Alkemist

In this webinar, RunSafe and JFrog will introduce cutting-edge security techniques, allowing users to protect both source and binary code flowing through their pipelines from memory based attacks. Includes a walkthrough of a real world exploit where Alkemist was successful at mitigating the attack in Apache/PHP.

A developer's guide to optimizing PHP performance

With its open-source nature, PHP has evolved into one of the most popular languages among web developers. According to w3techs, 78 percent of websites across the globe use PHP as their server-side language. Even amongst the top 1,000 ranked sites, PHP is dominant, being used by more than 50 percent of them.

How to Enable PHP Error Reporting

Errors are undesirable for users and you should do everything in your control to keep users away from them. However, they are of utmost importance for developers. They allow developers to understand the inaccuracies and vulnerabilities in their code by alerting them when their code breaks. They also provide relevant information about what went wrong, where, and what can be done to make amends.

Deploying a Performant PHP Application on Kubernetes with Rancher

PHP is one of the most popular programming languages on the web. It powers many widely used content management systems like WordPress and Drupal, and provides the backbone for modern server-side frameworks like Laravel and Symfony. Despite its popularity, PHP has a bit of a reputation for being slow and hard to maintain. It has gotten better in recent years, but there are two features that high-performance PHP applications will likely need: OPcache and PHP FastCGI Process Manager (PHP-FPM).