# Community

@Luke Diebold (opens new window) is creating a series of screencasts that cover a wide range of Laravel Orion 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.

# Introduction

What is Laravel Orion? What it can do? Let's find out in this introductory episode to the series of Laravel Orion 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 Laravel 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.

# Pagination

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 Laravel Orion, 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.

Last Updated: 2/24/2024, 10:37:01 AM