PHP

It's important to consider the security of the applications you build. Learn about the current top ten security vulnerabilities for web apps.

Learn the fundamentals of PHP with books geared for PHP developers. We explore a list of the best PHP books in 2022 and beyond.

Dive into the fundamentals of PHP frameworks and which are the best PHP frameworks for you.

Learn how to take information stored in a MySQL database and display it on a web page for all to see.

Learn what a database is, and how to work with your own databases using Structured Query Language (SQL).

Learn the basics of how PHP works, including statements, variables, operators, comments, and control structures.

Learn how to set up a development environment by installing PHP 8 and MySQL using Docker, in this excerpt from our book PHP & MySQL: Novice to Ninja.

Learn what higher-order functions are, how they work, why you might need them, and what they look like in PHP, JavaScript and Python.

APIs can easily become overcomplicated and slow. Learn how to develop a pipeline that's easy to expand later without obscuring the main flow.

Need to authenticate requests to a server? Learn what JWTs are and how to use them instead of sessions to authenticate your users via API calls.

Looking for tips on how to install PHP on Windows? We walk step by step through how to install PHP 8 and Apache 2.4 on Windows 10 (64-bit).

There are so many ways to set up your PHP development environment, but using Docker is the current best practice. Let's walk through how to do it properly.

Attention Laravel lovers! The Livewire framework for Laravel can help you build awesome, dynamic interfaces without writing a whole lot of JavaScript.

Need to collect data through a web form? Learn the basics of how to set up PHP to collect user-submitted data that you can then store or send via email.

Learn how to add a custom field to a Flarum user account. Users will be able to set this custom field from their profile page, and admins will be able to edit it too.

Learn about Insphpect, a tool that scans your PHP code for object-oriented programming techniques that hinder code reusability and flexibility.

Tonino and Narayan show how to use PHPMailer - a dead simple email sending library for PHP. Send email from your local machine or an SMTP relay easily!

Tonino Jankov covers the background, performance benefits and current implementations of the HTTP/2 protocol.

Image Resizing: Bruno Škvorc shows how to modify a multi-image gallery blog to serve resized versions of images depending on the size of the viewport.

Tonino discusses ways to tune server performance with Varnish Cache, covering how it works, and its features, setup, monitoring and administration.

Ahmed Bouchefra offers an in-depth exploration of the features of the Chrome DevTools for measuring performance and debugging your web applications.

Bruno Škvorc shows how to implement Varnish as an additional caching layer, along with the Cloudflare CDN, to increase an app's GTMetrix score dramatically.

Tonino Jankov shows how to optimize on-the-fly thumbnail generation, reducing request time from 28 to 0.7 seconds with Nginx and pm-static.

Zoran Antolović explains what background processing is, why it's important, and how to set it up with Beanstalkd and Supervisor.

Tonino Jankov shows how to use Pingdom, YSlow and GTmetrix to improve performance on an image gallery blog running on Nginx.

Claudio Ribeiro shows how you can use explain and indexes to spot and remedy possible performance issues with your database before they strike.

Bruno applies Blackfire to a freshly started project to identify PHP performance bottlenecks, establishing a process of continuous performance testing.

After setting up and organizing files for a Symfony Flex project, Zoran populates the database with data to test application performance.

Zoran covers the basics of setting up and organizing files for a Symfony Flex project, including tips, tricks and helper scripts to speed up development.

Tonino Jankov introduces techniques to improve Apache and Nginx web server performance, explaining the theory behind those techniques.