We may earn an affiliate commission when you visit our partners.
Course image
Dary Nazar

Have you been trying to learn Laravel and are you ready to take it a step further by creating a shopping cart? Try this 2-hour free course out.

Who this course is for

· People who are looking for web programming jobs

· People who want to learn everything about Laravel

· People who struggle with projects

· People who want to learn how to host a Laravel project on Cloudways

Version numbers of this project

· Laravel 8.7

· Tailwind 2.0

What will we do?

Read more

Have you been trying to learn Laravel and are you ready to take it a step further by creating a shopping cart? Try this 2-hour free course out.

Who this course is for

· People who are looking for web programming jobs

· People who want to learn everything about Laravel

· People who struggle with projects

· People who want to learn how to host a Laravel project on Cloudways

Version numbers of this project

· Laravel 8.7

· Tailwind 2.0

What will we do?

Laravel is one of the most popular PHP frameworks out now. Learning the fundamentals of a language is one thing, but learning through real-life projects is another. In this course, we will be creating the following:

· Basic home page

· Shop page that shows all products

· Specific product page

· Shopping cart

What will you be learning in this course?

· How to setup Controllers, Models, Migrations & Routes

· Setup database seeders

· Storing images correctly through the storage

· Building the frontend from an existing repository

· Making our pages dynamic

· Saving products into a session

· Deleting products from a session

What will we not be doing?

Udemy courses can be a maximum of 2-hours, so I had to cut some parts out of this tutorial. We won’t be creating the following:

· Authentication

· A payment system

· A total amount overview

Working on local projects is awesome when you are a beginner. But what comes after? We will be using a cloud managed hosting platform called Cloudways to host our project simply in a couple steps, into the cloud.

Enroll now

What's inside

Syllabus

Introduction

This video will show you how you what we will be doing in this course.

Promo video!

In this video, we will be setting up our GitHub repository and Laravel project.

Read more

In this video, we will be creating all necessary controllers, model(s), migrations and routes.

In order to interact with your migrations, you need to setup your database! In this video, we will be creating our database and adding our Database credentials in the .env file.

In order to add products to the shopping cart, we do need to have products inside our database. In this video, we will be setting up our migration.

I don't want to add products into my database through an interface but I rather use a Database Seeder that we can also run on Cloudways!

There are different methods on how you should store images in Laravel. I personally recommend using a symbolic link, which we will setup in this video.

I have already created a static frontend in HTML and Tailwind to save us time. In this video, we will be integrating that project into our current project.

Link to repository:

https://github.com/codewithdary/laravel-shopping-cart-static

We will be taking it a step further in this video by making our shop dynamic by adding our Database Products into the shop.

In this video, we will be saving products into our session which we can access in the shopping cart.

Based on the session that we filled in the previous video, we'll be printing it out inside our shopping cart.

In this video, we wil be setting up the "Delete" shopping cart item.

Exercise time! I want you to create the update cart quantity functionality. I have added the solution inside my GitHub repository + documentation so let me know what you have done differently.

Whether you like it or not, errors will happen when your either programming or deploying code to the Cloud. Over the years, I have used the cloud quite a lot and there are two errors that keep occurring every once in a while, when I deploy a Laravel project. I quickly want to show it before we continue on.

Before we can continue on to the next section in this course, which is deploying the code on Cloudways, we do need to make sure that our GitHub repository is up to date.

By default, GitHub excludes the hidden folder/files. Let's make sure that we push the images to GitHub as well.

This video will show you what Cloudways is and what is has to offer.

This video will show you the five (AWS, Google Cloud, Linode, Vultr and Digital Ocean) cloud providers where you can choose from in Cloudways.

This video will show you what Cloudways has to offer for performance.

This video will show you what Cloudways does to optimize their security.

This video will show you all extra features that are integrated in Cloudways, that you can use!

This video will explains how you should choose your Server location.

We will finally start setting up our server & application in Cloudways their dashboard.

In this video, we will be accessing the server through the CLI

This video will show you the final steps needed to deploy your project through Cloudways.

Cloudways offers a one click SSL installation, and that's what we will be testing out in this video!

This video will be an outro and it will show you what the advantages and disadvantages are of Cloudways.

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Career center

Learners who complete Laravel 8 – Build a shopping cart & deploy it on Cloudways will develop knowledge and skills that may be useful to these careers:
Laravel Developer
A Laravel Developer specializes in building web applications using the Laravel PHP framework. This course is exceptionally tailored for an aspiring Laravel Developer, providing deep, hands-on experience with Laravel 8.7. You will learn to construct a complete shopping cart application from the ground up, covering essential Laravel components such as controllers, models, migrations, and routes. The course details setting up database seeders, managing image storage, integrating frontend templates, and implementing dynamic data handling and session management. By building a real-world project, you gain practical proficiency in Laravel's syntax and best practices. Deploying the Laravel project to Cloudways provides a comprehensive understanding of its full lifecycle, from development to production.
Web Developer
A Web Developer designs, builds, and maintains websites and web applications. This course directly contributes to the core competencies of a Web Developer, particularly those focused on server-side logic and database interaction using Laravel. You will gain practical experience in setting up a Laravel project from scratch, establishing controllers, models, and routes, and managing database migrations and seeders for dynamic content. The project-based approach of creating a functional shopping cart helps build a foundational understanding of data persistence, session management for user experience, and integrating a frontend using Tailwind. Furthermore, the emphasis on deploying your Laravel application to Cloudways provides critical insight into bringing a web project to life in a cloud environment, a highly sought-after skill for any aspiring Web Developer.
PHP Developer
A PHP Developer specializes in building server-side web applications using the PHP programming language. This course is an excellent starting point for a PHP Developer, offering deep immersion into Laravel, widely recognized as one of the most popular PHP frameworks. You will gain hands-on experience in using Laravel 8.7 to develop a functional shopping cart, covering essential PHP development paradigms such as MVC architecture setup (Controllers, Models, Routes), database management through migrations and seeders, and session handling for application state. The practical application of storing images and making pages dynamic directly showcases PHP's power in creating interactive web experiences. The deployment section using Cloudways provides valuable insights into how PHP applications are managed and hosted in production environments.
Backend Developer
A Backend Developer builds and maintains the server-side logic, databases, and APIs that power web applications. This is a highly relevant career path for learners of this course. You will focus intensely on Laravel, a leading PHP framework, to construct the robust backend of a shopping cart application. The course provides detailed instruction on core backend components such as setting up controllers, models, and migrations, interacting with databases, and managing data via seeders. Learning to save and delete products from a session directly applies to building sophisticated server-side logic that handles user data and application state. Understanding the deployment process on Cloudways is also crucial for a Backend Developer, as it covers bringing server-side applications into production environments.
E-commerce Developer
An E-commerce Developer focuses on building and maintaining online stores and shopping platforms. This course offers a highly relevant, project-based learning experience for an E-commerce Developer by guiding you through the creation of a complete shopping cart application using Laravel. You will learn fundamental e-commerce functionalities such as displaying products on a shop page, managing specific product pages, and critically, implementing the core mechanics of adding, saving, and deleting items from a user's shopping session. The structured approach to setting up controllers, models, and databases directly applies to handling product catalogs and customer orders in a real-world e-commerce system. Deploying the application to Cloudways also ensures you understand the practical steps involved in launching an online store.
Full-Stack Developer
A Full Stack Developer possesses the skills to work on both the front end and back end of web applications, overseeing the entire development process. This course helps build a foundation for a Full Stack Developer by providing comprehensive training in a popular backend PHP framework, Laravel, combined with practical experience in frontend integration using Tailwind. You will learn to establish backend architecture with controllers, models, and routes, manage database interactions, and implement dynamic content. Concurrently, the course involves integrating a static frontend to display dynamic product data and manage a shopping cart, bridging server-side logic and user interface. The integral component of deploying the application to Cloudways further equips you with end-to-end knowledge essential for a Full Stack Developer.
Application Developer
An Application Developer creates and maintains software applications for various platforms. This course offers highly relevant, hands-on training for an Application Developer specializing in web applications. You will learn to construct a robust web-based shopping cart application using the Laravel framework, covering essential development stages from architectural setup (Controllers, Models, Routes) and database interactions (migrations, seeders) to creating dynamic user experiences through session management. The project-centric approach helps build a practical understanding of how individual components integrate to form a complete application. Crucially, the course includes the deployment of the application to Cloudways, providing insight into the entire software development lifecycle, from coding to making an application live and accessible.
Software Engineer
A Software Engineer designs, develops, and maintains software systems and applications. This course contributes significantly to the foundational skills required for a Software Engineer, particularly those specializing in web application development. You will engage in building a complete web application (a shopping cart) using a structured framework, Laravel. This involves understanding architectural patterns (MVC: Controllers, Models, Routes), database management (migrations, seeders), and logical problem-solving (saving and deleting session data, updating cart quantities). Exposure to version control with GitHub and practical experience deploying a project to a cloud platform like Cloudways are essential aspects of the modern software development lifecycle for a Software Engineer.
Release Engineer
A Release Engineer manages the software release process, ensuring that applications are deployed smoothly and efficiently to production environments. This course provides direct, hands-on experience that is highly relevant for a Release Engineer. You will learn the practical steps of taking a developed Laravel application and deploying it to a cloud hosting platform, Cloudways. This includes crucial tasks like updating GitHub for deployment, managing server configurations, utilizing CLI for server access, setting up SSH for secure code transfer, and implementing SSL certificates. Error handling during deployment and managing project backups are core responsibilities within the release management lifecycle. This course helps build a foundational understanding of the technical intricacies involved in delivering software, which is invaluable for a Release Engineer. An advanced degree is often beneficial for this role.
DevOps Engineer
A DevOps Engineer bridges the gap between development and operations, focusing on automating and streamlining the software delivery lifecycle. While not a comprehensive DevOps course, this training provides foundational exposure to critical aspects relevant to a DevOps Engineer. You will learn to deploy a Laravel application to a cloud-managed hosting platform, Cloudways, which involves understanding server setup, managing databases, accessing servers via CLI, and configuring SSH for GitHub integration. The discussions on deployment error handling, setting up SSL certificates, and project backups are direct insights into operational responsibilities. This course helps build an awareness of deployment pipelines and infrastructure concerns, which are key principles for a DevOps Engineer. An advanced degree is often beneficial for this role.
Cloud Engineer
A Cloud Engineer designs, implements, and manages cloud-based infrastructure and applications. This course provides practical, hands-on experience with cloud deployment that may be useful for an aspiring Cloud Engineer. The latter half of the course specifically dives into Cloudways, a managed cloud hosting platform, where you will learn about various cloud providers (AWS, Google Cloud), server setup, application deployment, accessing servers via CLI, and configuring essential services like SSL. Understanding project backups and troubleshooting deployment errors in a cloud environment directly relates to the operational responsibilities of a Cloud Engineer. While not covering deep infrastructure as code, practical exposure to deploying a web application to the cloud helps build a foundational understanding of cloud service management. An advanced degree is often beneficial for this role.
Application Support Engineer
An Application Support Engineer provides specialized technical assistance for specific software applications, troubleshooting complex issues in live environments. This course, focused on building and deploying a Laravel application, provides invaluable insights that directly help an Application Support Engineer. Understanding the internal architecture of a Laravel application—how controllers, models, and routes function, how databases are structured via migrations and seeders, and how sessions manage user data—is crucial for diagnosing problems. Furthermore, the extensive section on deploying to Cloudways, covering server access via CLI, error handling, and backup management, provides a practical understanding of how applications behave in production, empowering an Application Support Engineer to quickly identify and resolve deployment and operational issues for live web applications.
Database Developer
A Database Developer designs, implements, and maintains database systems and applications. This course provides practical experience with crucial database development tasks that may be useful for a Database Developer, particularly in the context of web applications. You will learn to define and manage database schemas using Laravel's migration system, a robust tool for versioning database changes. Additionally, the course provides hands-on experience with database seeders to populate initial data, which is essential for application development and testing. Understanding how to connect an application to a database, query data to make pages dynamic, and manage data persistence for a shopping cart helps build a practical perspective on database interaction from the application layer. This course helps build foundational knowledge of how databases support web applications.
System Administrator
A System Administrator manages and maintains computer systems and servers, ensuring their smooth operation and security. This course provides practical exposure to server and application deployment in a cloud environment that may be useful for a System Administrator. You will gain hands-on experience setting up a web application on Cloudways, which involves understanding server configurations, accessing the server via the command-line interface, and managing SSH keys for secure access. The principles of deploying a web project, understanding common deployment errors, setting up SSL certificates, and managing project backups directly align with a System Administrator's operational responsibilities. This course helps build foundational understanding of managing web applications in a production server environment. An advanced degree is often beneficial for this role.
Technical Product Manager
A Technical Product Manager defines product vision, strategy, and roadmaps, often requiring a strong technical understanding to bridge the gap between business and engineering. While this course is hands-on development, it may be useful for an aspiring Technical Product Manager by providing a deep, practical understanding of web application development and deployment. You will learn the entire lifecycle of building a shopping cart application, from backend logic (Laravel, database) to frontend integration and crucial deployment steps on Cloudways. This hands-on experience helps build appreciation for technical complexities, potential challenges, and resource requirements in bringing a web product to market. Understanding specific development and deployment steps helps a Technical Product Manager make informed decisions and communicate effectively with engineering teams. An advanced degree is often beneficial for this role.

Reading list

We've selected 49 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Laravel 8 – Build a shopping cart & deploy it on Cloudways.
Provides a comprehensive overview of Shopping Cart, covering everything from its history and evolution to its latest features and applications. It valuable resource for anyone who wants to learn more about Shopping Cart.
Is highly relevant for understanding contemporary database topics, particularly in the context of distributed systems, scalability, and various data storage technologies like NoSQL. It is excellent for professionals and advanced students looking to deepen their understanding of modern data systems and their trade-offs.
La edición en español de este reconocido libro de texto ofrece una introducción completa a los conceptos fundamentales de los sistemas de bases de datos, cubriendo teoría y práctica. Es un recurso excelente para estudiantes de habla hispana que buscan una comprensión amplia y a menudo se utiliza como libro de texto principal en instituciones académicas.
Is widely considered a definitive introduction to Laravel. It provides a high-level overview and concrete examples for experienced PHP developers to quickly grasp the framework's core concepts, including routing, middleware, Eloquent ORM, and Blade templating. It's an excellent starting point for gaining a broad understanding and is often recommended for newcomers to the framework.
This classic book emphasizes the importance of writing readable, maintainable, and testable code. While not specific to Laravel, the principles outlined in this book are universally applicable to any programming language or framework, including PHP and Laravel. It's a must-read for any serious developer aiming to improve their code quality.
Another foundational classic in software development, this book provides techniques for improving the internal structure of existing code without changing its external behavior. Refactoring crucial skill for maintaining and evolving Laravel applications, making this book highly relevant for professional development.
A comprehensive guide covering the core technologies of front-end web development: HTML, CSS, and JavaScript, along with web graphics. is well-suited for beginners and serves as a solid introduction to the entire process of creating websites. It includes exercises and quizzes to reinforce learning. While it provides a broad understanding, readers looking to specialize in a particular area might need more focused resources later. The latest editions incorporate modern web standards and practices.
Understanding design patterns is crucial for writing clean, maintainable, and scalable code. explores how to apply design patterns and best practices specifically within the Laravel framework. It's essential for developers looking to deepen their understanding of building well-structured applications.
For those looking to deepen their understanding of how database systems function internally, this book provides a detailed exploration of topics like storage engines, indexing, and transaction processing in distributed systems. It is suitable for advanced students and professionals.
Comprehensive guide to cloud deployment. It covers various cloud deployment models, including private, public, and hybrid. It also provides case studies of real-world cloud deployments.
Comprehensive guide to Shopping Cart that covers everything from its history and evolution to its latest features and applications. It valuable resource for anyone who wants to learn more about Shopping Cart.
A project-based introduction to Django, a high-level Python web framework. is ideal for beginners with some Python knowledge who want to learn full-stack web development. It guides readers through building several web applications, covering concepts like authentication, testing, and deployment. It's a practical and up-to-date resource for learning Django.
Domain-Driven Design (DDD) is an advanced software development approach. applies DDD principles to Laravel development, offering insights into building complex applications with a focus on the business domain. It's suitable for those looking to deepen their architectural understanding.
Focuses on applying classic design patterns within the context of PHP and Laravel development. It provides practical examples and aims to make understanding design patterns accessible and applicable to everyday Laravel work.
Provides a deeper dive into JavaScript as a programming language. It covers fundamental programming concepts and more advanced topics like asynchronous programming and object-oriented programming. It's highly regarded for its thoroughness and clear explanations, making it suitable for those who want to solidify their understanding of JavaScript beyond the basics. The latest editions are updated to cover modern JavaScript features, making it a relevant reference for contemporary practices.
Offers a practical and approachable guide to relational database design, suitable for beginners and those without a strong technical background. It focuses on fundamental design principles and provides clear, jargon-free explanations. It's a good starting point for understanding how to structure data effectively.
La edición en español de 'Database Design for Mere Mortals' ofrece una guía práctica y accesible para el diseño de bases de datos relacionales. Es ideal para principiantes y aquellos sin experiencia técnica previa, enfocándose en principios de diseño fundamentales con explicaciones claras y sin jerga.
Provides a comprehensive overview of cloud deployment with Kubernetes. It covers various cloud deployment patterns with Kubernetes, including single-node, multi-node, and hybrid.
Hands-on guide to deploying applications in the cloud. It provides step-by-step instructions on how to deploy applications on different cloud platforms, including AWS, Azure, and Google Cloud Platform.
Provides a comprehensive overview of cloud deployment with Puppet. It covers various cloud deployment patterns with Puppet, including single-node, multi-node, and hybrid.
For back-end developers using Node.js, this book explores common design patterns and best practices for building scalable and maintainable server-side applications. It delves into asynchronous programming, module patterns, and architectural considerations specific to Node.js. It's a valuable resource for developers looking to deepen their understanding of Node.js development and build robust back-end systems.
Focused on practical SQL usage and common mistakes, this book is valuable for anyone working with relational databases. It helps solidify understanding of effective database programming and design principles by highlighting what *not* to do. It's a great supplementary read for those learning or using SQL regularly.
Delves into domain-driven design (DDD), which software development approach that aligns software with the domain knowledge of the business. DDD can be particularly beneficial for complex MVC applications.
This tutorial widely recommended resource for learning the Ruby on Rails framework. It takes a test-driven development approach and guides readers through building a substantial web application. It covers not only Rails but also essential related technologies like Ruby, HTML, CSS, and SQL. It's suitable for those who want to learn full-stack development using a convention-over-configuration framework.
Provides a clear explanation of relational database design principles and their implementation. It is suitable for students and professionals who need to understand how to design and manage relational databases effectively, covering both theory and practical aspects.
A practical guide for MySQL users looking to optimize performance and manage their databases effectively. dives into advanced topics specific to MySQL, making it valuable for professionals working with this popular relational database system.
Another foundational software development book with broad applicability to web development. It offers practical advice on a wide range of topics, including writing flexible and maintainable code, learning new technologies, and personal responsibility. These principles are invaluable for web developers at all stages of their careers. It emphasizes a pragmatic approach to building software, which is highly relevant in the ever-evolving web landscape.
A comprehensive guide to MongoDB, a popular NoSQL document database. is valuable for understanding the concepts and practical applications of MongoDB, suitable for developers and database administrators working with NoSQL.
Offers a practical introduction to a variety of modern databases, including both SQL and NoSQL systems. It provides a hands-on approach to understanding different database models and their strengths and weaknesses, valuable for gaining a broad perspective on the database landscape.
Provides a comprehensive overview of the MVC architecture, covering its principles, design patterns, and best practices. It is particularly helpful for beginners who want to understand the fundamentals of MVC.
Security critical aspect of web development. focuses on common web security vulnerabilities and provides practical guidance for developers to build more secure applications. It covers topics like authentication, authorization, input validation, and protecting against common attacks. It's an important read for all web developers to ensure the applications they build are safe and protected.
Provides a comprehensive overview of DevOps for cloud deployment. It covers various DevOps practices for cloud deployment, including continuous integration, continuous delivery, and continuous monitoring.
An illustrated and beginner-friendly guide to relational database design and SQL. focuses on making the concepts approachable with hands-on exercises, making it ideal for those new to database design and SQL.
Provides a detailed guide to Apache Cassandra, a widely-used NoSQL wide-column store database. It's useful for understanding the architecture and practical use cases of Cassandra, relevant for those exploring different NoSQL options.
Cookbooks are useful for finding practical solutions to specific problems. offers a collection of recipes for various tasks in Laravel development. It can serve as a valuable reference tool for developers looking for quick implementations of common features.
Focuses on the essential aspects of database security, covering topics from installation and testing to auditing and preventing SQL injection. It's a practical guide for IT professionals and students interested in protecting database systems. While the publication date is older, the fundamental security principles remain relevant.
Provides a comprehensive overview of cloud computing, including cloud deployment. It covers various cloud deployment models, including private, public, and hybrid.
Introduces AngularJS, a popular JavaScript framework that follows the MVC architecture. It provides a comprehensive guide to building interactive and dynamic web applications using AngularJS.
For developers working on larger, more complex web applications, understanding microservices architecture is increasingly important. explores the concepts, benefits, and challenges of designing and implementing microservices. It covers various patterns and best practices for building distributed systems. It's a more advanced topic but highly relevant for those involved in building scalable web platforms.
Foundational text on the principles and practices of continuous integration and continuous delivery. These concepts are vital for modern web development teams to release software frequently and reliably. It covers automation, testing strategies, and deployment pipelines. It's a key resource for understanding the operational aspects of delivering web applications.
Provides a practical guide to unit testing in Java, which is an essential skill for developing and maintaining MVC applications. The authors have extensive experience in software testing and development.
While not strictly a Laravel book, a strong understanding of JavaScript is increasingly important for modern web development, including working with front-end frameworks often integrated with Laravel. widely acclaimed resource for learning JavaScript from the basics to more advanced concepts. It provides foundational knowledge valuable for courses involving Vue.js or other JavaScript technologies.
Provides a practical guide to PHP development, covering a wide range of topics from basic syntax to advanced techniques.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Laravel 8 – Build a shopping cart & deploy it on Cloudways.
App Engine: Qwik Start - Python
Most relevant
Build an Automobile Listing Website with PHP
Most relevant
Build Messenger Clone Using PHP and MySQL
Most relevant
Mastering Laravel Framework and PHP
Most relevant
XHTML - Server Side Programming with PHP
Most relevant
Ultimate Web Designer & Web Developer Course
Most relevant
Laravel pizza ordering web application & deploy on...
Most relevant
ESP32 + Databases to Control Anything Anywhere
Most relevant
Docker Crash Course for busy DevOps and Developers
Most relevant

Udemy Buyer Protection & Guarantee

Verified partner policies & purchase protections

Global Marketplace Leader
Free Trial & Audit

Free Lecture Previews

Free preview video lectures available for all courses; optional 7-day free trial on Personal Plan subscriptions (cancel before trial ends to avoid conversion).

Return & Refund Policy

30-Day Money-Back Guarantee

30-day money-back guarantee on all eligible individual course purchases (provided course content has not been substantially consumed or downloaded). Subscription fees are non-refundable once billed.

Buyer Protections

Verified Academic & Industry Partner

Lifetime access to purchased individual courses and future updates, verifiable certificate of completion, and direct student Q&A forums.

Key Purchase Protections
30-day 100% money-back guarantee on course purchases
Lifetime access on web, mobile, and offline
Certificate of completion included with purchase
Direct instructor Q&A and active student community
OpenCourser Verified Partner Policy details last reviewed: 2026-10-22
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser