Skip to content

Guides

Each guide shows how to do one task in an xtr application. The guides use an application with the name shop. To make this application, do the steps in Create an application.

Guide The task
Configure a bundle Change the configuration of a bundle, for each environment.
Add a console command Write a command and run it from the console.
Generate code Write the first files of an entity, a message or a listener with the make:* commands.
Agent skills Register the skills of the installed packages for a coding agent.
Build a web application Add routes and use services from the container in a route.
Send and handle messages Send a message to a handler now, or later through a transport.
Stop an agent run Stop an agent run in a web request, or in a background job on a worker.
Protect a web application Add a firewall, users and access rules.
Test an application Test the kernel, the web application and your services.

Each package README has more examples. The Components page has a link to each README.