5 Less-Known Features of Spatie Media Library
Spatie Laravel MediaLibrary is one of the most popular Laravel packages, with almost million downloads. But have you read all of its documentation, with all the features? Let's dive in.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
Spatie Laravel MediaLibrary is one of the most popular Laravel packages, with almost million downloads. But have you read all of its documentation, with all the features? Let's dive in.
Quick tip of the day. With routing you can specify Route::get('projects/{project_id}', 'ProjectController@show'); but what if you want project_id to be strictly a number?
A quick review of Laravel Wink by Mohamed Said. It provides a really pleasant writing experience, but is it good for actual fully-featured blog project? Let's take a look.
API-based projects are more and more popular, and they are pretty easy to create in Laravel. But one topic is less talked about - it's error handling for various exceptions. API consumers often complain that they get "Server error" but no valuable messages. So, how to handle API errors gracefully? How to return them in "readable" form?
Quick review of a package called EloquentFilter - it will help you move complicated search logic from controller to separate filter classes, to keep your code cleaner.
If you have a form separated into a few tabs with jQuery UI Tabs, then default Laravel validation will redirect you back to the first tab, even if the error was on the third tab. How to override it and set the correct tab proactively?
When building CRUD-like projects, sometimes you want some items be accessible only with their parent, for example in countries-cities relationships, you don't want to list all the cities in the world, but only by country, like /countries/123/cities, where 123 is country_id. This article will show you how to do it, using Route::resource() and usual CRUD controllers.
A new 2-minute video showing probably the quickest way to create a new user in Laravel users table.