← All tutorials

php Tutorials

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

119 tutorials

Web Development

How to Retrieve the Last Inserted ID in Laravel Eloquent

Web Development

How to Get Records Created Today in Laravel

Web Development

How to Get Current Month Records in Laravel Eloquent

Web Development

How to Count Records Grouped By a Column in Laravel Eloquent

Web Development

How to Count Rows in Laravel Eloquent Efficiently

Web Development

How to Delete a Record with Laravel Eloquent (4 Methods)

Web Development

How to Combine Multiple where() and orWhere() in Laravel Eloquent

Web Development

How to Use orderBy in Laravel Eloquent (with Examples)

Web Development

How to Change a User Password in Laravel

Web Development

How to Delete Related Records in Laravel Eloquent

Web Development

How to Change a MySQL Column Type in Laravel Migration

Web Development

How to Add New Columns to an Existing Table in Laravel Migration

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.