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

Activities

Coming soon We're preparing activities for Laravel 8 – Build a shopping cart & deploy it on Cloudways. These are activities you can do either before, during, or after a course.

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 haven't picked any books for this reading list yet.
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 strong understanding of object-oriented programming (OOP) and design patterns in PHP is essential for working effectively with Laravel, as it is built on these principles. provides a solid foundation in these areas, serving as valuable prerequisite or supplementary reading for understanding the underlying concepts of Laravel. [Not found in search results, relying on general knowledge of popular PHP books]
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.
Provides a comprehensive overview of Laravel, covering everything from basic concepts to advanced techniques. It is written by Matt Stauffer, a Laravel expert who has been involved in the development of the framework since its early days.
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.
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.
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.
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.
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.
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.
Provides a comprehensive overview of cloud computing, including cloud deployment. It covers various cloud deployment models, including private, public, and hybrid.
Provides a comprehensive overview of cloud deployment patterns. It covers various cloud deployment patterns, including single-tenant, multi-tenant, and hybrid.
Provides a comprehensive overview of cloud deployment with Vagrant. It covers various cloud deployment patterns with Vagrant, including single-node, multi-node, and hybrid.
Provides a comprehensive overview of cloud deployment with Puppet. It covers various cloud deployment patterns with Puppet, including single-node, multi-node, and hybrid.
Provides a comprehensive overview of cloud deployment with Terraform. It covers various cloud deployment patterns with Terraform, including single-node, multi-node, and hybrid.
Provides a comprehensive overview of cloud deployment with Kubernetes. It covers various cloud deployment patterns with Kubernetes, including single-node, multi-node, and hybrid.
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.
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.

Share

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

Similar courses

Similar courses are unavailable at this time. Please try again later.
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