← All tutorials

php Tutorials

Practical PHP guides — syntax, debugging, deployment and framework glue — written from real fixes.

119 tutorials

Web Development

How to Add Foreign Keys in Laravel Migration

Web Development

How to Use the Laravel Validator Exists Rule

Web Development

How to Check if a Record Exists in Laravel

Web Development

Laravel updateOrCreate: Insert or Update Records in Eloquent

Web Development

How to Configure WordPress Multisite with Subdirectories on Nginx

Web Development

How to Install Laravel on Ubuntu: Step-by-Step Guide

Web Development

How to Install PHP on Ubuntu (22.04 & 24.04): Step-by-Step Guide

Web Development

How to Install Composer on Ubuntu: Step-by-Step Guide

Web Development

How to Set a Variable in Laravel Blade Templates (With Examples)

Web Development

How I Fixed Composer Dependency Errors Using the –ignore-platform-reqs Flag (Step-by-Step Guide)

Web Development

How to Check if GD Library Is Installed in PHP (3 Easy Methods)

Web Development

How to Show Only Hours and Minutes in Laravel Blade (HH:MM)

These php guides come from the same library as the rest of How7o Learn: each one documents a real task or a real failure, and the exact steps that resolved it.