Sometimes, you need to make an Eloquent query that is modified by adding different parts based on other criteria. A typical good example of this is when you submit an advanved search form elements, Then you will need to create a query and then add the criteria based on the different inputs from the form.
how to upload image and validate on its properties and display it
Here is a brief overview on how to implement a reset password manually for users in Laravel application.
In case you wanetd to change the error message of a validation rule in Laravel you can make use of the following snippet.
In order to send an email message from laravel, there are numerous ways to do so. Here is the least complicated one.
Sometimes, in a laravel application you need to get rid of the index in the URL, If so you can use the following in your htaccess file in the root folder of your application.
when deleting the last record on pagination page , this will make that page be fully empty with no records ... this snippet will allow you to redirect to the main route when deleting the last record on pagination and the page is empty