Best of Laravel News — 2022
- 1
- 2
- 3
Laravel News·4y
Vite is now the default frontend asset bundler for Laravel applications
Vite is now the default frontend asset bundler in new Laravel projects. Breeze and Jetstream have been updated as well. Vite provides near-instantaneous build times during development. You'll see updates automatically happen in the browser while you work, which is a fantastic experience!
- 4
- 5
- 6
Laravel News·4y
How I develop applications with Laravel
The API we are building is a basic to-do style application, where we can add tasks and move them between to do and done. For me, it always begins with a simple command: laravel new todo-api --jet --git. We will create an API because it is something I love doing. The way I work with Laravel is very similar to Domain Driven Design, so there is a little setup.
- 7
Laravel News·4y
Upcoming Livewire v3 Features and Changes
Livewire v3 will support writing JavaScript functions directly in your backend Livewire components. Hot reloading will include hot reloading without a build step. There's a new $parent property that can be accessed to call methods on the parent. The new core relies on Alpine more, using its Morph, History, and other plugins under the hood. If you have a component that takes an expensive query that isn't always opened, you might want to wait to wait. It won't be rendered on the page.
- 8
- 9
Laravel News·4y
Laravel Pint
Laravel Pint is an open source PHP code style fixer for minimalists. Built on top of PHP-CS-Fixer, it will automatically test and fix your code style based off of a preset. With no configuration, no set up, no thought or effort - my project is instantly assessed for PSR-12 styling.
- 10
Laravel News·3y
OpenAI for Laravel
Nuno Maduro released an OpenAI PHP Client for Laravel in October. This week he announced a brand Laravel integration called OpenAPI Laravel. The integration allows developers to use OpenAI's powerful natural language processing capabilities in their Laravel applications.
- 11
- 12
- 13
Laravel News·4y
Eloquent Performance: 4 Examples of N+1 Query Problems
Laravel Debugbar is a tool to show queries on a Laravel website. It can be used to diagnose problems in Laravel code. In this article, I will show a few different examples of what to watch out for, including the cases when the problem is "hidden" in unexpected places in the code.
- 14
Laravel News·3y
A Look at What's Coming to Laravel 10
A Look at What's Coming to Laravel 10 Laravel v10 is the next major version of Laravel, planned for release on February 7th, 2023. Laravel uses a variety of community-driven packages as well as nine Symfony components for a number of features within the framework.
- 15
Laravel News·4y
Fast Paginate for Laravel
Laravel Fast Paginate is a fast implementation of offset/limit pagination for Laravel. You can use the same pagination API available in Laravel via the fastPaginate() method. If you'd like to learn more about the techniques used in this package, check out Efficient Pagination Using Deferred Joins.
- 16
- 17
- 18
Laravel News·4y
Laravel 9.21 Introduces a Fresh Look for Artisan
The Laravel team released 9.21 with a fresh new look for Artisan, two brand-new Artisan commands, and more. The about command displays output about the Laravel environment, such as debug mode, PHP version, cache statuses. The new model:show command displays helpful information to give you an overview of your model.
- 19
Laravel News·4y
Tinkerwell 3 - The PHP code runner is released
The team at Beyond Code released Tinkerwell 3 with intelligent code completion, magic comments and a stunning new design. Tinkerwell is the best code runner for Laravel and PHP – think php artisan tinker on steroids. You can run any PHP code, use any feature of the latest Laravel versions and run code within your own applications locally or via SSH.
- 20
Laravel News·4y
Vite Livewire Plugin
The Laravel Vite plugin makes it easy to configure Laravel apps to use Vite with Livewire. It allows components to hot reload without losing state when the component's blade file or class changes. You can get started by installing this plugin as an NPM module and following the installation instructions on GitHub.
- 21
Laravel News·4y
Your first Laravel 9 Application
Laravel has grown at an incredible rate since it was first released and recently added two full-time staff members to help develop its ecosystem. This tutorial is aimed at those who are just starting to learn Laravel. Laravel will load all of your web routes from, and you have a few options when it comes to routing.
- 22
Laravel News·4y
Laravel 9.25 Released
The Laravel team released 9.25 with a new string method, mass updating model timestamps with the query builder, and more: Stringable "when not exactly" Anjorin Damilare contributed a whenNotExactly string method that will execute a given callback if the string is not an exact match with the given
- 23
Laravel News·4y
Faster Laravel: Surprising Optimization Tips
Testmo's goal is to answer most server requests in 100ms or less. It's pretty simple: slow server-side performance will trickle down to all parts of the stack. In Testmo we don't use @include at all anymore. Instead, we've built our own lightweight alternative we call @require.
- 24
Laravel News·4y
Style Guide Generator for Tailwind CSS
BeyondCode launched a Style Guide Generator for Tailwind CSS. It automatically generates style guides from a tailwind configuration file. You can either paste the content of your tailwind.config.js file or load the file from a URL. Once you've generated a style guide based on your config, you can share it with others.
- 25
Laravel News·3y
Supercharging Your Artisan Commands With Termwind
Termwind is a PHP package created and maintained by Nuno Maduro (and other awesome contributors such as Francisco Madeira) It allows you to use Tailwind-like CSS classes in your PHP code to add styling to your output. To get started with using Termwind in your Laravel apps, you'll need to install it using Composer.