Categories
Laravel Development

Laravel Mailable – how to add subject to email

Sending email in Laravel is simple, and is based on few steps, assuming that some mail provider (like SendGrid for instance) is already set in .env file. install Maillable module for some specific type of email you would like to send: php artisan make:mail NotificationEmail -m emails.notificationEmail the above produces mailable class:  App/Mail/NotificationEmail.php and mail template […]

Categories
Django and Python Laravel Development Web Development

Django vs Laravel 8

As for most such comparisons much depends on what you need the frameworks for. Essentially they both are MVC, keeping in mind that MTV (Model Template View) for Django means in fact Model View Controller. That is – in Django View you keep controller logic, and Template is basically where you design how your interface […]