how to show validation errors in arabic language in laravel
how to redirect view back to a specific div section using id
In case you want to directly print a pdf file from the browser in Laravel, here is a snippet of code that might help you do it.
Download files when clicking on file name after uploading it using laravel
Respect line breaks when displaying any text depending on your line breaks when typing your comment or your snippet
Delete previous uploaded image when user uploading a new one for profile picture (as example)
how to upload image and validate on its properties and display it
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.
Sometimes you need to show & allow user a select box with multiple options to choose from, But sometimes also you need this to be filtered as there may be numerous options to choose from.
Creating a model with factory and seeder