Course description
If you want to develop powerful plugins for Shopware 6, this is the right training for you!
You will learn about the architecture of Shopware 6, how to install it and how to extend its functionality. Jisse Reitsma will teach you everything about creating plugins and using Routing, Controllers, Dependency Injection and Commands. After completing the training you will be all set up for creating awesome Shopware 6 extensions.
This training is ideal for anyone with development experience interested in learning more about Shopware. No prior experience with Shopware is required.
Target audience
- Backend developers
- Agencies
Course curriculum
-
01
Introducing Shopware 6
Show details- Welcome to the course!
- Introducing Shopware 6
- Knowledge requirements
-
02
Architecture
Show details- API overview
- Store API vs SalesChannel API
- Glimpse into the Shopware database
- Overview of platform bundles
- Symfony services in Shopware 6
- Working with Context
- Dealing with different currencies
-
03
Installation
Show details- Advice on setting up your environment
- Development Template or Production Template?
- Preparing for the installation
- Installing the Development Template
- Installing the Production Template
- Using Dockware
- Modifying your database
- Environment variables
- Setting up an existing project
- Updating Shopware 6
-
04
Plugins
Show details- Introducing plugins
- Creating a plugin
- The composer.json plugin file
- Adding a plugin configuration
- Plugin resources
- Bundle methods in a plugin
- Service definition in PHP or YAML
- Uninstalling a plugin
- Adding scheduled tasks
- Caching data in your plugin
- Using repositories
-
05
Commands
Show details- Creating a CLI command
- Injecting services into a command
-
06
Routing and controllers
Show details- Creating a page controller
- Creating a JSON controller
- Common Storefront controller tasks
- Creating an admin controller
- Throw a custom 404 exception
- Injecting dependencies in a controller
- OpenAPI annotation
- Connecting to the Store API
- Creating a Store API route
- Examples of using the Store API
-
07
Setup
Show details- Setting up PHPStorm
- Using a logger
- Using Redis
-
08
Dependency Injection
Show details- About the Symfony kernel
- Decorating services
- Using compiler passes
- Setter injection
- Using factories
-
09
Database operations
Show details- Creating a custom entity
- Database migrations
- Translating your entity
-
10
Checkout and sales
Show details- Cart architecture
- Options for extending the cart
- Introduction to payment handlers
-
11
Events and subscribers
Show details- Event listeners and subscribers
- Listing possible events
- Live coding example with event dispatching and handling
- Live coding example with product.loaded event
- Triggering your own event
-
12
Product management
Show details- Indexing products and other entities
-
13
Deploying your Shopware code to production
Show details- Deployment with Deployer PHP