Need help architecting or implementing a REST API? Book a call!


Explore the features of Orion for Laravel through a series of video tutorials.

@Luke Diebold is creating a series of screencasts that cover a wide range of Orion for Laravel features. Huge thanks to all the efforts put into this ❤️

NOTE: this is ongoing series - more episodes will be added as soon as they become available.


What is Orion for Laravel? What it can do? Let's find out in this introductory episode to the series of Orion for Laravel screencasts.

Project setup and basic CRUD

In this episode, Luke walks you through the project setup, Sanctum configuration, and your first REST API for managing Post models.

Preparing migrations and models

Before diving into the search functionality, we need to prepare our models and migrations. The episode covers all the necessary steps to get you ready for exploring Orion's search magic :)

One of the available search options is keyword search. It allows you to lookup models that match a provided keyword in any of the specified attributes, similar to what a typical search bar does.

Search - filters

Another way of searching for models is to use filters. Think of it as writing Eloquent query, but on the frontend side.

Search - sorting

When performing a search query, you can also sort the results. Let's take a look how you can accomplish that, shall we? :)

Search - scopes

When doing a lookup, you can take it one step further, and make the API even simpler and more maintainable by utilizing scopes.


In this episode Luke walks you through the pagination meta data and how you can use it for building pagination links on the frontend.

Soft Deletes (Laravel)

Before jumping into Soft Deletes functionality specific to Orion for Laravel, let's review how Soft Deletes work in Laravel itself.

Soft Deletes

Now, when we have a clear understanding of how Soft Deletes work in Laravel, we can explore the available options on how to work with them via the API.

Copyright © 2019-2024 Aleksei Zarubin