After pushing your code to your live server, the website doesn't show the public images you uploaded? This is a typical problem often asked on forums. These are the potential reasons/fixes.
If you build links and call them by route names, you may get an error like "Route [register] not defined". But you could swear that the name is correct! I will show you the easiest way to debug and fix it.
If you have a text input for a phone number, you may want to validate it as a decimal number. Let me show you why it's a bad idea and what to do instead.
In reports or tables, you often need to show one record with all its "children" records on the same line, separated by a comma. In this tutorial, I will show you TWO ways to achieve that in Laravel.
I've seen people on forums [struggling with an error](https://laracasts.com/discuss/channels/laravel/method-illuminatevalidationvalidatorvalidatename-does-not-exist) like this: "Method Illuminate\Validation\Validator::validateName does not exist". Why does it happen, and how to fix?
Laravel Validation returns an error as a JSON response with the error messages in a strict standard format. What if you want to change it to an entirely different structure because your front-enders ask you for specific key-value pairs?
I've seen on various forums people asking why the default empty Laravel installation sometimes shows 20 MB memory usage in Debugbar without any DB queries or heavy functionality. The short answer: "Don't debug, it's normal."
By default, Laravel stores the uploaded public files in the `storage/app/public,` and you should create a so-called "symbolic link" with the Artisan command "php artisan storage:link". But what if you don't have SSH access to the Terminal and can't run this command?
Eloquent has a lot of "hidden gems". In this tutorial, let's see how we can get the latest record from the `hasMany` Relationship in five different ways.
The `Carbon` class for dates and times is a part of Laravel by default, but there's also a less-known class, `CarbonPeriod`. It can help generate the ARRAY of datetimes, often useful for report tables and calendars. In this tutorial, let's look at the 7 most practical examples of `CarbonPeriod`.