Category : Laravel

Add Event and Event listener to Laravel

If you need to create an event and its associated event listeners, here are the involved files:

Export PDF from laravel

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

Send mail in laravel 10

Here is a sample simple code to send email message in laravel

PHP Unit Testing Examples

In this article we will just show few examples and guide lines for Unit Testing in Laravel applications.

Laravel Artisan summary

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

How to force all URLs to follow HTTPS protocol not HTTP

In this snippet I will explain how to force all URLs in your website to follow HTTPS protocol not HTTP

Integrate amazon s3 to laravel project

In this snippet I will teach you how to integrate amazon s3 with your laravel project

Create laravel project with multi languages using route prefix

In this snippet I will teach you how to create your laravel project and use multi language but with the route prefix

Add GET parameters in laravel pagination

In this snippet I will teach you how to add get parameters in laravel pagination

Update model binding slug in URL

In this snippet I will teach you how to modify model binding slug in URL