Found (7) results for "laravel"

Create eloquent query based on different criteria [Content needed]

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.

Upload Image and validate on it on laravel

how to upload image and validate on its properties and display it

Reset password for admin or user manually on Laravel

Here is a brief overview on how to implement a reset password manually for users in Laravel application.

Custom validation error messages

In case you wanetd to change the error message of a validation rule in Laravel you can make use of the following snippet.

Laravel - Send Email Example

In order to send an email message from laravel, there are numerous ways to do so. Here is the least complicated one.

Laravel routes without index.php

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.

Laravel pagination problem when deleting last item

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