I'm Mohamed Said, a full-stack web developer working at Laravel. In this publication, I share everything I know about Laravel's core, packages, and tools.
Browse the list of topics or check the latest posts from below.

Newly published on Jan 20, 20204 mins Read

Authentication and Laravel Airlock

Airlock is a lightweight authentication system for Laravel. You can use it to ensure requests to your API have a valid token or authentication session. In this post, we'll look into how it works and where it can be useful.

Updated: Jan 2, 2020 — 1 min Read — #horizon

Ensuring Horizon terminates gracefully

In this post, we look into what needs to be configured in order to make sure Horizon terminates gracefully and doesn't kill any of the running jobs before finishing.

Updated: Aug 22, 2019 — 1 min Read — #vapor

Laravel Vapor: When to use a Load Balancer

Laravel Vapor configures your lambda function to use AWS's API Gateway which follows the pay-as-you-go model. However, there's an option to provision a load balancer and pay a flat rate. Let's take a look.

Updated: Aug 15, 2019 — 1 min Read — #vapor

To use Vapor or not to use it?

Answering some of the common questions I receive regarding Laravel Vapor.

Updated: Jul 31, 2019 — 4 mins Read — #vapor

Cost & Performance optimization in Laravel Vapor

Let's discover how the cost of lambda executions in Laravel Vapor is calculated, and how we can keep it under control. Vapor takes care of a lot of things for you already, but there are things that you need to handle yourself.

Updated: Jul 25, 2019 — 3 mins Read — #vapor

What is AWS Lambda, and how Laravel Vapor uses it

Vapor is a serverless deployment platform for Laravel powered by AWS Lambda. A lot is happening under the hood, in this post we're going to discuss the most interesting part about Vapor, the "serverless" part.

Updated: Jun 30, 2019 — 3 mins Read — #databases

Multi-tenancy in Laravel: working with a database-per-tenant model.

In this article, we're going to explore one of the most confusing aspects of multi-tenancy in laravel applications; communicating with multiple databases.

Updated: Jan 11, 2019 — 2 mins Read

Handling HTTP Requests in Laravel

A shallow dive into how Laravel handles an incoming request and sends a response.

Updated: Jan 11, 2019 — 1 min Read — #queues

Conditionally pushing event listeners to queue

Did you know you can decide whether or not a job should be dispatched before it even runs? Let me show you.

Updated: Jan 6, 2019 — 2 mins Read — #redis

Persisting Redis Data on Disk

Redis data lives in memory, but you can configure Redis to store to the disk if you want. Learn about the different persistence strategies.

Updated: Jan 6, 2019 — 4 mins Read

Package Auto-discovery in Laravel

A look into how Laravel's package auto-discovery works under the hood.

Updated: Jan 6, 2019 — 4 mins Read — #notifications

Understanding how notification channels work

Let's discover how each of the built-in notification channels work.

This site was built using Wink. Follow the RSS Feed.