DotEnv is the perfect way to store sensitive configurations. Stored in a secure location, only two lines of code are needed to load them
Category: Programming
Composer: the PHP dependencies manager
Composer is the tool to manage dependencies in your PHP application with extreme ease. It downloads and loads libraries automatically with just one command
The N + 1 problem: how to improve performance of SQL queries
The N + 1 problem causes a significant loss of performance. In this article you will learn how to gain more than 13 times the performance with a simple adjustment to solve this issue
The different ways to run PHP
There are many ways to run PHP, not only in a web environment. It is possible to run it in the terminal and even interactively. Learn all of them in this article!
How to use the built-in PHP Web Server
Starting from PHP 5.4, it is not necessary to install Apache, Nginx, or any other web server. PHP itself comes with a built-in web server for development
The PHP’s MySQLi extension
Learn how to use the MySQLi extension in PHP, with more recent MySQL features. Starting from PHP 5.5, mysql_* functions are deprecated, and you should use MySQLi