Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Laravel 11 - Prevent Scheduling Slowing Artisan/Composer Commands

Learn how to prevent scheduling logic from slowing down your artisan/composer commands in Laravel 11.

Laravel - Turn Exceptions Into API Responses

Learn how to get Laravel to turn exceptions into legitmate API responses, rather than having to catch them and convert them manually each time.

Interesting Laravel Packages / Addons

A list of interesting add-ons that could be quite useful and a dedicated blog post.

Laravel Eloquent Relationships

Learn how to define the relationships between models for Eloquent queries in Laravel.

Laravel - Submit A Bug Report

Learn how to report a bug/issue with the Laravel framework.

PhpStorm - Add Laravel Autocompletion

Add support for the Laravel Framework to your PhpStorm IDE.

Laravel 9 Released

Laravel 9 has been released.

Laravel Cheatsheet - Models, Factories, and Database Queries

A cheatsheet for Laravel covering the topics of models, factories, and database queries.

Laravel 5 Cheatsheet

A cheatsheet for using Laravel 5.

Laravel - Use UUID For Model ID

This tutorial will show you how you can quickly add a UUID trait, which you can then add to your models, so that they are using a UUID for their primary key/identifier.

Getting Started With Laravel Queues and Background Jobs

Learn how to make use of Laravel queues to schedule background (asynchronous) jobs.

Laravel - Throw Exception If Environment Variable Not Set

Implement a defensive step in your Laravel framework by throwing an exception if an expected environment variable is not set, rather than reverting back to some default that is probably not appropriate.

Fix Laravel Not Recognizing Ajax Requests

Fix an issue with Laravel not recognizing your requests as ajax requests.

Laravel Blade Views

Tutorial covering the use of Blade views in Laravel.

Laravel - Creating A Service Provider

How to create a service provider in Laravel.

Ubuntu - Install Laravel Installer Through Composer

Install the Laravel installer.

Netbeans - Adding Support for Laravel

Add support for Laravel in Netbeans so that you can get auto-completion and hints working.

Laravel Cheatsheet

A cheatsheet for using Laravel.

Fixing Laravel 4 Routing Autocomplete

If you use netbeans like me and new to Laravel, you may get confused/frustrated by lack of autocomplete after typing Route:: This post explains what is going on and how you can fix this.

Ubuntu - Create a Laravel Project

Set up a new Laravel project. Laravel is a popular PHP framework.