Category: Laravel
Community Laravel
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!
Community Laravel Validation
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.
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
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.