Laravel's Eloquent ORM versus Query Builder

Using Laravel's Query Builder instead of its Eloquent ORM for better control over Json output.

laravel

How to easily read or write PHP .env files

The EnvFile class provides the ability to easily add or change .env file key values and to create a sample .env file with obfuscated key values.

laravel php

Laravel odds and ends

A handful of Laravel tips and reminders

laravel php

A Laravel Blade directive to inject a class indicating the active path

A Laravel Blade directive to inject a class name indicating the active path

laravel php

How to create Laravel facades for project classes

How to create a custom facade in Laravel.

laravel

How to create Laravel Blade directives

How to create Laravel Blade directives

laravel php

Getting the lay of the Laravel land

Understanding the Laravel stack

laravel php

How to post a Laravel form with Ajax

this is the abstract

javascript laravel php ajax

Automating the restore of non-Git-project parts of a Laravel project

Most, but not all, of a Laravel project is stashed away in a Git repository. This article shows how to automate the saving and restoring of non-Git parts of a Laravel project.

laravel

Creating a new look for rogerpence.com

Put a new face on my old workhorse

There are tons of articles and videos on how to write CSS and JavaScript for new projects. In this project, I'm going to document refreshing a brown-field project with new CSS and other goodies.

javascript laravel css rp-blog

Setting up a new Laravel project

Setting up a new Laravel project

laravel