Out of the box, Laravel will allow both HTTPS and HTTP requests to your website or application. Ideally all requests are served via SSL. There are several ways to accomplish this, some of which require access to server configs. I am going to show you how you can easily force SSL in your Laravel application
Add a Mailchimp email subscription form in Laravel – double opt in!
With several fantastic extension out there, integrating a Mailchimp email subscription form in Laravel has never been easier! I am going to show you an example integration that collects an email address in a simple form. We will be using the laravel-newsletter package by spatie. Assumptions You have a Laravel application already running You have a
How to use custom pivot tables in Laravel 6.x
Have you run into this before? Your app’s database table structure is predefined and unalterable. There are lookup tables (called pivot table in Laravel) that create many to many relationships between tables using YOUR naming convention. It makes sense in the context of your application, but you quickly find out that Laravel’s relationship defaults do