Community Articles

A NativePHP Example - Post Image

A NativePHP Example

NativePHP is out (in alpha currently), and I’ve had a great time building a desktop app in Laravel.

NativePHP

DevOps With Laravel: Dockerizing a Laravel application - Post Image

DevOps With Laravel: Dockerizing a Laravel application

In this article, I'm going to show you how to dockerize an application that has the following components.

Laravel Docker

NativePHP Tutorial: Building a Mac MenuBar application - Post Image

NativePHP Tutorial: Building a Mac MenuBar application

Follow along with me as we put together a Mac MenuBar application to know the local time of each member of your team.

NativePHP

Everything You Can Test In Your Laravel Application - Post Image

Everything You Can Test In Your Laravel Application

A common challenge in testing is not only HOW to test something, but WHAT you can test. That's why I have made a list of all the things I like to test in my applications.

Laravel

Learn Livewire 3, Volt, and Folio by building a podcast player - Post Image

Learn Livewire 3, Volt, and Folio by building a podcast player

Yesterday, the Laravel team released Laravel Folio - a powerful page-based router designed to simplify routing in Laravel applications. Today, they released Volt.

Livewire

Define Casts in a Query - Post Image

Define Casts in a Query

Laravel has Eloquent attribute and custom casting. But did you know about query-time casting? It's documented in Laravel, and illustrated beautifully by Aaron Francis.

Eloquent Laravel

A look at what's coming to Laravel 11 - Post Image

A look at what's coming to Laravel 11

Laravel 11 is not scheduled to be released until the end of the year, but some new features have been shared out, and Taylor goes through some big new improvements in his Laracon keynote.

Laravel

Refactoring conditionals to callables in PHP - Post Image

Refactoring conditionals to callables in PHP

Recently, I came across a very handy tip by Nuno Maduro where you can refactor some of the conditionals in your code to callables to make your code more elegant and readable.

Laravel Vanilla PHP

Usage Laravel and ChatGPT "Function calling" - Post Image

Usage Laravel and ChatGPT "Function calling"

Recently, OpenAI released an update for ChatGPT, introducing new features that allow developers to describe language model functions - gpt-4-0613 and gpt-3.5-turbo-0613. These features enable the generation of JSON objects containing arguments to run thes

Laravel AI

Upcoming Livewire v3 Features and Changes - Post Image

Upcoming Livewire v3 Features and Changes

Last Wednesday at Laracon Online, Caleb Porzio gave a talk called "The Future of Livewire" demoing all the new features planned for Livewire v3. In this article, we'll go over those features again in case you missed the talk or want a second look.

Livewire

Recreating the GitHub UI with Tailwind! - Live Stream with Jess Archer - Post Image

Recreating the GitHub UI with Tailwind! - Live Stream with Jess Archer

Here's Jess Archer showing how you can recreate the GitHub UI with Tailwind.

Tailwind

SDKs, The Laravel Way - Post Image

SDKs, The Laravel Way

Each call to the builder will modify the underlying pending request. Every modification, another link in the chain, that will be sent, finally, with get().

Laravel

Clipboard - Post Image

Clipboard

Copy, cut & paste in your application. You read that right.

Laravel

Awesome Livewire - Post Image

Awesome Livewire

A curated list of Livewire resources.

Livewire

A Laravel package to monitor the health of your application - Post Image

A Laravel package to monitor the health of your application

Using this package you can monitor the health of your application by registering checks.

Laravel

Multi-Input Sorcery And Other Laravel Livewire Tips - Post Image

Multi-Input Sorcery And Other Laravel Livewire Tips

Daniel Coulbourne shares some cool Livewire insights.

Livewire Laravel

Tip: Run Tinker Instantly - Post Image

Tip: Run Tinker Instantly

Laravel productivity tip! Add this little function to your bash profile to quickly execute anything with the Tinker command and get the results instantly.

Laravel CLI

[8.x] Adds a simple where helper for querying relations - Post Image

[8.x] Adds a simple where helper for querying relations

Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.

Eloquent Laravel

Immutable dates in Laravel - Post Image

Immutable dates in Laravel

This week's 8.53.0 release includes new "immutable_date" and "immutable_datetime" casts for Eloquent!

Eloquent Laravel

A lightweight Laravel package to track changes over time - Post Image

A lightweight Laravel package to track changes over time

The Spatie team has released a new package called spatie/laravel-stats. This package is a lightweight solution for summarizing changes in your database over time.

Laravel

Pruning Laravel Models - Post Image

Pruning Laravel Models

In the latest version of Laravel 8, Eloquent models now come with a Prunable and MassPrunable trait to automatically delete models based on criteria.

Laravel

Getting started with Laravel Spotlight - Post Image

Getting started with Laravel Spotlight

Use a Mac-ish Spotlight command pallette on your apps built with Livewire.

Livewire Laravel

Health Icons - Post Image

Health Icons

Free, open source health icons

CSS

Laravel Batches and real-time progress with Livewire - Post Image

Laravel Batches and real-time progress with Livewire

Learn how to process incoming files using job batches, Laravel Echo, Laravel Livewire, Pusher, all in real time with a surprise ending.

Alpine Blade Livewire Laravel Tailwind

Why we need multi-line short closures in PHP - Post Image

Why we need multi-line short closures in PHP

PHP 8.1 is already taking shape quite well, yet there's one feature I'd love to see added, that's still being discussed: multi-line short closures.

Defining Default Password Validation Rules in Laravel - Post Image

Defining Default Password Validation Rules in Laravel

In Laravel 8.43, the Password Validation Rule Object now supports the ability to define default password rules you can use across your application.

Laravel

A package to watch for file system changes in PHP - Post Image

A package to watch for file system changes in PHP

The Spatie team has released a new package called file-system-watcher. As the name implies, this package can watch changes in the file system and let you act on those changes.

Find N+1 problems instantly by disabling lazy loading - Post Image

Find N+1 problems instantly by disabling lazy loading

In the next release of Laravel 8, you can strictly disable lazy loading entirely, resulting in an exception.

Laravel

Laravel one-of-many relationships - Post Image

Laravel one-of-many relationships

This pull request to the Laravel framework provides a solution for creating one-to-one relations that are a partial relation of a one-to-many relation.

Laravel Eloquent Database

DOM Events Visualizer - Post Image

DOM Events Visualizer

Learn about the DOM Event system through exploration.

Javascript

Setup Umami self-hosted analytics using Laravel Forge - Post Image

Setup Umami self-hosted analytics using Laravel Forge

Umami is a simple, fast, website analytics alternative to Google Analytics.

Forge

Laravel Octane v1.0 is Here - Post Image

Laravel Octane v1.0 is Here

The Laravel team has been hard at work on Laravel Octane, a tool to supercharge your Laravel application's performance. After releasing the beta in April, Octane has released a stable 1.0 version!

Laravel

Tailwind Configuration Viewer - Post Image

Tailwind Configuration Viewer

Tailwind Config Viewer is a local UI tool for visualizing your Tailwind CSS configuration file.

Tailwind

Simple Automatic Upgrades for Tailwind CSS with Shift - Post Image

Simple Automatic Upgrades for Tailwind CSS with Shift

On Monday Shift officially released Tailwind Shifts for upgrading Tailwind projects all the way back to Tailwind 0.x.

Laravel Tailwind

Develop faster by adding a dev routes file in a Laravel app - Post Image

Develop faster by adding a dev routes file in a Laravel app

Freek teaches us how to add development-only routes to your application to quickly preview e-mail templates or fire notifications.

Laravel

Password Validation Rule Object in Laravel 8 - Post Image

Password Validation Rule Object in Laravel 8

A new Password Rule object is now included in Laravel v8.39, thanks to the efforts of Nuno Maduro.

Laravel Validation

Processing Identity Documents in Laravel - Post Image

Processing Identity Documents in Laravel

Learn how to use a package that allows you to handle documents like passports and other documents that contain a Machine Readable Zone (MRZ).

Laravel

Forge: Octane Support - Post Image

Forge: Octane Support

Back in March, Taylor announced the new Laravel Octane project at Laracon Online. Since then, we've been busy working on bug fixes and enhancements to Octane, as well as adding support to Laravel Forge.

Laravel

Validating Laravel Console Input - Post Image

Validating Laravel Console Input

Ryan Chandler shows us how to create a trait to handle console input validation.

Laravel

Things every developer absolutely, positively needs to know about database indexing - Post Image

Things every developer absolutely, positively needs to know about database indexing

Kai Sassnowski takes an in-depth dive into database indexing and the best times to use each approach.

Database

Laravel Batches and real-time progress with Livewire - Post Image

Laravel Batches and real-time progress with Livewire

Upload files using Laravel Echo, Livewire, and Laravel Batch Jobs

Laravel Livewire Broadcasting

10 New CSS Features You Might Not Know About (2021 Edition) - Post Image

10 New CSS Features You Might Not Know About (2021 Edition)

Here are some of the amazing things that CSS is capable of these days.

CSS

Modern PHP Cheat Sheet - Post Image

Modern PHP Cheat Sheet

A to-the-point summary of all awesome PHP features

Laravel Real-Time Notifications - Post Image

Laravel Real-Time Notifications

In this post, we will take a look at how we can send real-time notifications with Laravel, the Laravel Websockets package, and Laravel Echo.

Laravel Broadcasting

8 Tips to Make Your Website Feel Like an iOS App - Post Image

8 Tips to Make Your Website Feel Like an iOS App

iOS

Ordering database queries by relationship columns in Laravel - Post Image

Ordering database queries by relationship columns in Laravel

In this article we're going to explore how to order database queries by the value (column) of an Eloquent relationship.

Laravel Eloquent

Dynamic relationships in Laravel using subqueries - Post Image

Dynamic relationships in Laravel using subqueries

Use subqueries in Laravel to optimize your database selects.

Laravel Eloquent

Everything I Ever Needed To Know About Web Dev, I Learned From My Twitter Timeline - Post Image

Everything I Ever Needed To Know About Web Dev, I Learned From My Twitter Timeline

Colin DeCarlo gives his talk on some ideas on cleaning up code in your application gained from "fire tweets" on twitter.

Laravel

Some Shifty Bits - Post Image

Some Shifty Bits

Jason McCreary, creator of Laravel Shift, gives his talk on the parts of Laravel that are under-used. He explains how these pieces of the framework can make your code and your apps faster.

Laravel

Giving collections a voice - Post Image

Giving collections a voice

I gave a talk on this topic at LaraconAU, 2019. It covers all the ways custom collections can improve your systems design and contains some more guidance on when you would reach for this pattern.

Laravel Eloquent

Showing 50 results