
Set up a Laravel Sail project with Breeze and MeiliSearch, configure MySQL and Docker Compose, install npm dependencies, run migrations, and verify user login in the browser.
Create a document model with migrations to store file name, location, and a searchable body, link to a user with a foreign ID, and expose routes and middleware.
Create and wire the documents UI in a Laravel app, including a documents index view, navigation link, and a Tailwind-styled table with upload, download, and delete actions.
Create a document upload form in Laravel, validate text files, store uploads in the documents folder, and save metadata to the database with user feedback.
Refactor the file upload workflow into a save document action, moving logic from the controller into a dedicated action, enabling testability and reuse across the app through an array-based input.
Display documents to users by querying documents with uploading users in Laravel, pass them to the view via compact, and implement pagination while planning a strategy pattern for file types.
Refactor your Laravel app to use the strategy pattern for reading different document types, implement a file reader interface, and save contents for searchable indexing.
Install and configure meilisearch with laravel scout, index and import documents to enable body content search, and use a front-end search input to query indexed results.
Hook up a Laravel Scout powered search to the front end by adding a search form, routing to a documents controller search method, and returning paginated results ranked by relevance.
Refactor the documents table into a reusable blade component, pass documents into the component, and preserve search state with get requests and URL parameters, improving maintainability and reusability.
Learn how to implement delete and download actions for documents in a Laravel app, including a form-based delete request, storage-backed file deletion, and a download route with a friendly filename.
Expand the Laravel document search system by adding PDF upload support using the strategy pattern, read PDF contents, and index text for search.
Learn to implement Laravel pagination with Livewire, from installing components and styles to building a documents component and enabling partial page updates for faster listing.
Implement real-time live search in a Laravel document search app using Livewire, binding a term to the component, Scout filtering, and shareable URL query strings.
Implement a confirmed delete modal with Livewire in a Laravel document search app. Capture the document id, show the modal via browser events, and delete on confirmation.
Create a gate to hide the delete button for documents not owned by the user. Apply it to the delete method and enforce it in the blade with can.
This is a slightly more advanced course for Laravel, you should already know the basics of Laravel before starting this course. Source code is provided, simply click the 15th video and view the 'Resources' dropdown to download the project.
The system we are going to create is common in corporate workplaces. It allows users to upload documents to be made searchable and sharable with other users of the system.
This is a perfect project to try out some more in-depth techniques such as using Meilisearch with Laravel Scout, refactoring to actions, using the strategy pattern and Laravel livewire.
I will guide you from the very start using Laravel Breeze as a starter template and I will cover every step of the process in detail.
You will learn the following techniques in this course:
Laravel Breeze
Laravel Sail
Laravel Scout
Meilisearch
Blade Components
Using Actions
The Strategy Pattern
Laravel Livewire
Tailwind
I will guide you through the basics such as routing, controllers and pagination but won't be going in-depth on those topics. You can check out my YouTube channel if you would like to learn the basics first for free. The primary focus of this course is to teach you advanced techniques that entry-level courses usually don't cover.
This course uses free code snippets from TailwindUI. You can build your frontend in any technology you like this course isn't dependent on any imparticular. However, I recommend you first follow along using tailwind and the free TailwindUI components first before trying it with another frontend framework.