Creating a Website Monitoring Script with Bash

Let’s face it, websites and web servers can experience issues from time to time. Common issues include plugin incompatibilities, expired SSL certificates, a dreaded website hack or maybe just poor server performance. It’s important to keep an eye on sites to make sure they’re performing at their best. There are some great services out there for this task, like Pingdom, New... read more »

Creating a Laravel SaaS Framework: Part 4

In this section we're going to work on creating a login and registration system to accommodate our multi-tenant application. To do this, we'll set up a single registration form on the main domain and redirect to subdomains for users to sign in once they've registered for the site. You could go into some complexity with OAuth tokens here, but let's keep it simple for now with a separate field... read more »

Creating a Laravel SaaS Framework: Part 3

Picking up from the last article, we now have a single tenant on our system with the subdomain of "foo". Let's work on a few additions, including a second tenant and proper routing if a tenant doesn't exist. Let's add a second tenant and verify that they have some separation. For this one, we'll use a subdomain of "bar". Make sure to save the password somewhere. Now let's check our database... read more »

Creating a Laravel SaaS Framework : Part 2

Now that we have the basic setup, let's create our first tenants! We'll initially do this through an artisan command. This is based on the article by Ashok Gelal, with some updates for the latest versions. We'll start off by making some configuration updates so that we can separate our tenants by subdomains. First, open up the .env file and add in a value for APP_URL_BASE and also make a... read more »

Creating a Laravel SaaS Framework

In this series, I will attempt to build out a Laravel based Software as a Solution framework that can be easily adopted to different situations. This method is what I will be implementing on the e-cards.io site for selling online gift cards. Much of the content & concepts here are based on an excellent article by Ashok Gelal on Medium along with other sources. read more »