Laravel E-Commerce Workshop
Laravel E-Commerce Workshop is a hands-on workshop in building an online shop with Laravel, from the database and storefront to a Livewire cart, checkout, PayPal payments and a Filament back office for the owner. It suits developers with some PHP and MySQL experience, and you leave with a working online shop of your own.
- Duration18 hours · 3 days
- FormatOnsite / live online
- Next roundOn request
- CertificateIncluded
Course overview
Building an online shop yourself involves more detail than most people expect: a storefront where products are easy to find, a cart that always adds up, a checkout that never gets stock wrong, online payments, and a back office where the owner manages products and orders. Writing all of it in plain PHP takes a long time and carries security risks, while a framework such as Laravel gives the whole team one standard and ready-made tools for these jobs.
This course is a workshop that builds an online shop with Laravel 13 from an empty project to a live site. It starts by designing the database for products, categories and orders, then builds the storefront with Blade and Tailwind CSS 4, including product pages, search and product images. Learners then add customer accounts, an interactive cart with Livewire 4, a checkout that updates stock safely, PayPal payments and order confirmation emails, followed by a Filament 5 back office with a sales dashboard, tests with Pest and deployment to a cloud server or shared hosting. (3 days, 6 hours per day, 18 hours in total, Intermediate level.)
What you’ll gain
- Set up the tools and create an online shop project with Laravel 13
- Design the database for products, categories, carts and orders with migrations and Eloquent
- Build the storefront with Blade and Tailwind CSS 4, with product pages, search and images
- Build an interactive cart with Livewire 4 where items can be added, changed and removed
- Implement a checkout and order process that updates stock correctly inside transactions
- Take payments through PayPal in sandbox mode and send confirmation emails through a queue
- Build a back office for the shop owner with Filament 5 and a sales dashboard
- Test the system with Pest and put the shop live on a server or hosting
Who this course is for
- Developers with some PHP and MySQL experience who want to build an online shop with Laravel
- Laravel developers who want to see a complete e-commerce project from start to finish
- Freelancers and business owners who want to build or maintain their own online shop
- Students, teachers and IT staff interested in developing e-commerce systems
Prerequisites
- Basic PHP and MySQL
- An understanding of HTML and CSS and basic web page design
- Some Laravel experience will help you move faster but is not required
- A laptop that can run PHP 8.3 or later, Composer, Node.js and VS Code, with permission to install software
Curriculum
Course Details
This is the 2026 edition of the Laravel Workshop: Building an E-Commerce Shop Website course, rewritten from the previous Laravel 5.7 edition for Laravel 13, Livewire 4 and Filament 5. It runs for 3 days, 6 hours per day (18 hours in total, 09:00-16:00), as a workshop that builds a single online shop throughout the course. Intermediate level. It covers the storefront, cart, checkout, PayPal payments, the back office, testing
and deployment. Unlike Basic Laravel for Beginners, which teaches Laravel fundamentals through a blog, and Laravel with Vue.js Workshop, which builds the front end in Vue, this course stays with Blade and Livewire. All tools are free, payments are tested in sandbox mode, and learners use their own accounts and services for live payments and deployment servers. Learners take home a lab guide, the shop's source code for every lab and sample product data.
Day 1 Project Setup and Storefront
Section 1: Lab: Setting Up Tools and a Laravel 13 Project
- Why Laravel suits an online shop, and an overview of the system we will build
- Install PHP 8.3 or later, Composer and Node.js with Laravel Herd or Docker
- Create the project with the Laravel installer and the Livewire starter kit
- Configure .env for MySQL and get to know the Laravel 13 folder structure
- Lab: run the empty shop in the browser and keep the code in Git
Section 2: Lab: Designing the Shop Database
- Design tables for categories, products, product images, addresses, orders and order items
- Create tables with migrations and define foreign keys
- Eloquent models and the hasMany, belongsTo and belongsToMany relationships
- Factories and seeders to generate plenty of sample products
- Lab: a shop database ready with test data
Section 3: Lab: Storefront Layout with Blade and Tailwind CSS 4
- Blade layouts, components and slots for every page of the shop
- Manage CSS and JavaScript with Vite and Tailwind CSS 4
- Navigation menu, logo and a banner carousel on the home page
- About and contact pages with a validated form
- Lab: a storefront that looks good on both desktop and mobile
Section 4: Lab: Product and Category Pages
- Routes and controllers for the shop, categories and product details
- Route model binding with slugs for readable URLs
- List products by category with pagination and sorting
- Search products and cut down queries with eager loading
- Lab: shop and product detail pages driven by real data from the database
Section 5: Lab: Uploading and Managing Product Images
- Laravel's file system: disks, storage:link and file URLs
- Check file type and size before saving
- Store several images per product and choose the main one
- Delete old files when a product is edited or removed
- Lab: an image gallery on the product detail page
Day 2 Customers, Cart and Payment
Section 6: Lab: Customer Accounts and Details
- Registration, login and email verification from the starter kit
- Menus that change according to login status
- Profile page, password change and profile picture
- A customer address book with form request validation
- Lab: customers sign up and save their delivery addresses
Section 7: Lab: A Shopping Cart with Livewire 4
- Cart design: session storage for guests and database storage for members
- Livewire components for the add-to-cart button and a cart count that updates instantly
- Add items, change quantities and remove lines while recalculating the total
- Merge a guest's cart into their account when they log in
- Lab: a cart page that works without reloading the page
Section 8: Lab: Checkout and Orders
- The checkout flow: choose an address, review items and confirm the order
- Always calculate prices on the server from the database, never trust values from the browser
- Create the order and reduce stock inside a database transaction with locking
- Order numbers and order status with enums
- Lab: turn the cart into an order in the orders table
Section 9: Lab: Payments with PayPal
- Open a PayPal developer account and create a sandbox app
- Keep the client ID and secret in .env and read them through config
- Create and capture orders with the PayPal Orders API on the server
- Show the PayPal button with the JavaScript SDK and handle cancellations and errors
- Lab: pay with a sandbox account and update the order status
Section 10: Lab: Confirmation Emails and Queues
- Create a mailable for the order confirmation email
- Test email delivery with Mailpit
- Send email through a queue so customers do not wait
- Notify the shop owner when a new order arrives
- Lab: a confirmation email listing the items and the amount paid
Day 3 Back Office and Deployment
Section 11: Lab: A Back Office with Filament 5
- Install the Filament panel and create an administrator
- Resources for categories and products with forms and tables
- Upload product images and manage stock from the back office
- Filters, search and bulk actions in the product table
- Lab: the shop owner adds and edits every product without a developer
Section 12: Lab: Managing Orders and the Dashboard
- An order resource with customer details and order items
- Change order status and record tracking numbers
- Widgets for sales totals, order counts and low-stock products
- Set permissions for different admin levels with policies
- Lab: a shop overview dashboard for the owner
Section 13: Lab: Order History and Security
- An order history page with delivery status for customers
- Use policies so customers see only their own orders
- Protect against CSRF and mass assignment and rate-limit important forms
- Common weak points in online shops and how to close them
- Lab: attack your own shop and fix what you find
Section 14: Lab: Testing the Shop with Pest
- Feature tests for the cart, checkout and stock updates
- Use factories for test data and a separate test database
- Fake PayPal calls in tests with the HTTP fake
- Run the test suite every time before going live
Section 15: Workshop: Deploying the Shop to Production
- Prepare the system: a production .env, npm run build and optimised caches
- Back up the database and move it to the server
- Install on a cloud server with Nginx and PHP-FPM, or on shared hosting
- Run the queue worker and scheduler, and switch PayPal from sandbox to a live account
- Fix common problems after launch and present your own shop
Schedule & training options
For individuals — public rounds
No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770
For organisations — in-house / private
- Tailor the content to your team’s tools and projects
- Your dates, at your office or live online
- Quotation with tax ID for procurement
Instructors
Frequently asked questions
How does a shopping cart work in an online shop?
A cart holds the items a customer has chosen. Guests usually keep it in the session, while members keep it in the database so it follows them across devices. Each line stores the product and quantity, and the system must support adding items, changing quantities and removing lines, recalculating the total from database prices every time. At checkout the address is validated, the cart becomes an order and stock is reduced in a single transaction, and the customer is sent on to payment. In this course Livewire lets the cart update without reloading the page.
What are the steps to add PayPal payments to a website?
Start by opening a PayPal developer account and creating an app to get a sandbox client ID and secret, which you keep in the .env file. Create the order on the server through the PayPal Orders API, show the PayPal button with the JavaScript SDK so the customer can approve the payment, then capture it on the server and update the order status. Always calculate the amount from the database. Test everything with sandbox accounts first, and switch to a live account only when you deploy.
How does Filament help build an online shop's back office?
Filament is an admin panel builder for Laravel written entirely in PHP. You create a resource for each model, such as products, categories and orders, and Filament generates the table pages, create and edit forms, search, filters and image uploads straight away. You can add sales widgets to the dashboard and use Laravel policies to control admin permissions, so a working back office takes little time and leaves more time for the storefront and payments.
Who is the Laravel E-Commerce Workshop for, and what should I know beforehand?
It suits developers with some PHP and MySQL experience who want to build an online shop with Laravel, Laravel developers who want to see a complete e-commerce project, freelancers and business owners, and interested students, teachers and IT staff. You should know basic PHP and MySQL and understand basic HTML and CSS. Some Laravel experience helps, and complete newcomers to Laravel may want to take Basic Laravel for Beginners first.
What will I be able to do after the Laravel E-Commerce Workshop?
You will be able to build your own online shop with Laravel 13, from the database and a storefront with category listings, search and product images to customer accounts, a Livewire 4 cart, a checkout that updates stock correctly, PayPal payments, order confirmation emails, a Filament 5 back office with a sales dashboard, tests with Pest and deployment to a cloud server or shared hosting. Participants who complete the training receive a Certificate of Completion with its own number, which can be verified online.
Can the Laravel E-Commerce Workshop be run in-house for our team?
Yes. It can be run in-house for your team, with examples adapted to your own work, such as product types or an ordering process close to your business. You can request a quotation from this page, or contact us on LINE @itgenius or by phone on 02-570-8449.
Related articles
Articles are published in Thai.

