If you need to get or check for the current route name or action here is a hint
Elasticsearch is one of the most commonly used packages for laravel for a better searching capabilities. Here is how to integrate ElasticSearch into your laravel application so that whenever you add/update/delete any record it will be automatically indexed and updated in the elasticsearch index.
Sometimes, you will need to use/call models/classes dynamically if you only have its fully qualified name as a string. So for example if you have a record and you got its class|model name using get_class($record), and now you need to access this model using the name you have right now. then you can use the following snippet to do so.
If you need to create an event and its associated event listeners, here are the involved files:
Incase you want to export HTML content as a PDF file in laravel here is a simple package that you could use: https://github.com/barryvdh/laravel-dompdf
Here is a sample simple code to send email message in laravel
In this article we will just show few examples and guide lines for Unit Testing in Laravel applications.
Here is a list of a quick guide for almost all important artisan commands that can be used to make it easy to go a long with new laravel application
In this snippet I will explain how to force all URLs in your website to follow HTTPS protocol not HTTP
In this snippet I will teach you how to integrate amazon s3 with your laravel project