Community Articles
You are not connected to the internet.
Ensuring Environment Variables Are Set in Laravel I was recently browsing through X and saw an awesome code tip from Oussama Mater about a method I didn't know existed in Laravel. So I wanted to put together a quick article to share it with you all so you can benefit from it too! |
September 1st, 2024 | 259 | |
Added On: September 1st, 2024 Views: 259 |
|||
Use HTMX to Create Laravel Single-Page Apps Without Writing JavaScript HTMX brings back that philosophy, with a twist: it allows us to trigger AJAX requests from any HTML element just by adding custom attributes to it. Thanks to this approach, we can create single-page applications without writing a single line of JavaScript |
June 29th, 2024 | 437 | |
Added On: June 29th, 2024 Views: 437 |
|||
Optimistic UI Tricks for Livewire and Alpine There's been a lot of debate in the last few weeks on the merits of building web apps with HTML-over-the-wire vs. using popular JavaScript libraries like Vue and React, and how that choice affects the experiences of end users and developers. |
June 9th, 2024 | 553 | |
Added On: June 9th, 2024 Views: 553 |
|||
Disabling Composer's default timeout inside of scripts I like to use the scripts key inside of my composer.json to write reusable runner commands – normally things like background processes, build scripts, etc. The problem is Composer has a default execution timeout of 30 seconds, so when I've got a long-run |
May 16th, 2024 | 267 | |
Added On: May 16th, 2024 Views: 267 |
|||
Embed Livewire Components Using Wire Extender Wire Extender allows you to embed any Livewire component on any website or even within a static HTML file. |
March 7th, 2024 | 525 | |
Added On: March 7th, 2024 Views: 525 |
|||
Validate Data Types in Laravel Collections Using the `ensure()` Method The ensure() method allows you to ensure that the items in a Collection are of a specific data type. If an item in the Collection is not of the specified data type, the method will throw an UnexpectedValueException. |
March 5th, 2024 | 558 | |
Added On: March 5th, 2024 Views: 558 |
|||
Generating status badges using PHP ecently, we introduced a nice new feature to Oh Dear: status badges. A status badge is a beautiful SVG that shows the uptime status of your site. |
February 18th, 2024 | 454 | |
Added On: February 18th, 2024 Views: 454 |
|||
Five Ways to Be More Productive with Git In this post, I've gathered some of my favorite tools to make working with Git more productive. I'll cover different types of tools, ranging from git aliases, git tools, git workflows, and more. |
February 14th, 2024 | 322 | |
Added On: February 14th, 2024 Views: 322 |
|||
Create Beautiful Charts in Filament With the Apex Charts Plugin The Apex Charts plugin for Filament by Leandro Ferreira brings the popular Apex Chart library to your Laravel applications. This plugin uses the same API as the Apex Chart library, so you can use the official documentation as a configuration reference for |
January 20th, 2024 | 815 | |
Added On: January 20th, 2024 Views: 815 |
|||
Shorthand comparisons in PHP You probably already know some comparison operators in PHP. Things like the ternary ?:, the null coalescing ?? and the spaceship <=> operators. But do you really know how they work? Understanding these operators makes you use them more, resulting in a cle |
January 20th, 2024 | 425 | |
Added On: January 20th, 2024 Views: 425 |
|||
Creating beautiful invoices using Tailwind and Laravel PDF Last week, we released a new package called Laravel PDF that allows you to transform Blade views into PDFs. Under the hood, Chromium is used to perform the transformation. Because Chromium is an up-to-date browser, you can use any modern CSS you like. |
January 17th, 2024 | 785 | |
Added On: January 17th, 2024 Views: 785 |
|||
Exploring Middleware in Laravel 11 Laravel 11 is set to release in "Q1" of 2024, which may be as soon as next month. |
January 15th, 2024 | 533 | |
Added On: January 15th, 2024 Views: 533 |
|||
Building Maintainable PHP Applications: Over-engineering vs under-engineering Overengineering (or over-engineering) is the act of designing a product or providing a solution to a problem in an elaborate or complicated manner, where a simpler solution can be demonstrated to exist with the same efficiency and effectiveness as that of |
January 9th, 2024 | 409 | |
Added On: January 9th, 2024 Views: 409 |
|||
PHP Attributes: how to use PHP Attributes and create custom attribute classes – Fast Tips PHP attributes were introduced in PHP 8.0. This version marked a significant milestone for the language, bringing several new features and improvements, including the introduction of attributes for adding metadata to code declarations. |
January 3rd, 2024 | 666 | |
Added On: January 3rd, 2024 Views: 666 |
|||
Creating Data Tables in Livewire Let's create the Livewire component we're going to use for our data table. While we're at it, we'll talk about component naming and organization for a task like this. |
January 3rd, 2024 | 568 | |
Added On: January 3rd, 2024 Views: 568 |
|||
Self-healing URLs in Laravel These packages have a similar goal: you can change your model's route slug at will or only partially match a URL and never have to worry about SEO indexing when the slug changes. |
December 8th, 2023 | 555 | |
Added On: December 8th, 2023 Views: 555 |
|||
Building a procedurally generated game with PHP Today, we're building a procedurally generated, 2D game with PHP. It's a simple game that's focussed around resource gathering on a procedurally generated map. |
December 5th, 2023 | 419 | |
Added On: December 5th, 2023 Views: 419 |
|||
Laravel Pulse Beta Released Pulse delivers at-a-glance insights into your application's performance and usage. Track down bottlenecks like slow jobs and endpoints, find your most active users, and more. |
December 1st, 2023 | 569 | |
Added On: December 1st, 2023 Views: 569 |
|||
|
November 28th, 2023 | 490 | |
Added On: November 28th, 2023 Views: 490 |
|||
Rapid Laravel Development with Filament In this Laracasts series, I will teach you how to rapidly build applications using Filament and Laravel. By episode two, we will have a nearly fully functioning application. |
November 27th, 2023 | 922 | |
Added On: November 27th, 2023 Views: 922 |
|||
PHP 8.3 Released PHP 8.3 is a major update of the PHP language. It contains many new features, such as explicit typing of class constants, deep-cloning of readonly properties and additions to the randomness functionality. As always it also includes performance improvement |
November 24th, 2023 | 400 | |
Added On: November 24th, 2023 Views: 400 |
|||
Introducing the Laravel Number Utility Class A new Number utility class that provides several new helpers to format numbers, and it should be available in the next Laravel release this week. |
November 20th, 2023 | 555 | |
Added On: November 20th, 2023 Views: 555 |
|||
Laravel Pulse Pulse delivers at-a-glance insights into your application's performance and usage. Track down bottlenecks like slow jobs and endpoints, find your most active users, and more. |
November 17th, 2023 | 601 | |
Added On: November 17th, 2023 Views: 601 |
|||
A NativePHP Example NativePHP is out (in alpha currently), and I’ve had a great time building a desktop app in Laravel. |
August 28th, 2023 | 681 | |
Added On: August 28th, 2023 Views: 681 |
|||
August 22nd, 2023 | 830 | ||
Added On: August 22nd, 2023 Views: 830 |
|||
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. |
August 22nd, 2023 | 570 | |
Added On: August 22nd, 2023 Views: 570 |
|||
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. |
July 30th, 2023 | 559 | |
Added On: July 30th, 2023 Views: 559 |
|||
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. |
July 28th, 2023 | 860 | |
Added On: July 28th, 2023 Views: 860 |
|||
July 28th, 2023 | 634 | ||
Added On: July 28th, 2023 Views: 634 |
|||
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. |
July 26th, 2023 | 517 | |
Added On: July 26th, 2023 Views: 517 |
|||
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. |
July 25th, 2023 | 518 | |
Added On: July 25th, 2023 Views: 518 |
|||
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 |
July 8th, 2023 | 758 | |
Added On: July 8th, 2023 Views: 758 |
|||
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. |
April 17th, 2023 | 1,449 | |
Added On: April 17th, 2023 Views: 1,449 |
|||
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. |
April 17th, 2023 | 794 | |
Added On: April 17th, 2023 Views: 794 |
|||
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(). |
April 17th, 2023 | 730 | |
Added On: April 17th, 2023 Views: 730 |
|||
|
April 3rd, 2023 | 669 | |
Added On: April 3rd, 2023 Views: 669 |
|||
|
February 20th, 2022 | 2,504 | |
Added On: February 20th, 2022 Views: 2,504 |
|||
A Laravel package to monitor the health of your application Using this package you can monitor the health of your application by registering checks. |
December 14th, 2021 | 1,688 | |
Added On: December 14th, 2021 Views: 1,688 |
|||
November 28th, 2021 | 1,852 | ||
Added On: November 28th, 2021 Views: 1,852 |
|||
October 18th, 2021 | 1,445 | ||
Added On: October 18th, 2021 Views: 1,445 |
|||
August 31st, 2021 | 1,721 | ||
Added On: August 31st, 2021 Views: 1,721 |
|||
August 17th, 2021 | 1,561 | ||
Added On: August 17th, 2021 Views: 1,561 |
|||
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. |
July 25th, 2021 | 1,760 | |
Added On: July 25th, 2021 Views: 1,760 |
|||
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. |
July 14th, 2021 | 1,385 | |
Added On: July 14th, 2021 Views: 1,385 |
|||
June 29th, 2021 | 1,607 | ||
Added On: June 29th, 2021 Views: 1,607 |
|||
|
June 24th, 2021 | 2,660 | |
Added On: June 24th, 2021 Views: 2,660 |
|||
June 7th, 2021 | 2,159 | ||
Added On: June 7th, 2021 Views: 2,159 |
|||
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.
|
June 3rd, 2021 | 1,336 | |
Added On: June 3rd, 2021 Views: 1,336 |
|||
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. |
May 29th, 2021 | 1,567 | |
Added On: May 29th, 2021 Views: 1,567 |
|||
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.
|
May 24th, 2021 | 1,065 | |
Added On: May 24th, 2021 Views: 1,065 |
Showing 1 to 50 of results