--- links: - name: Page d'origine url: https://laravel-news.com/controller-refactor lang: en - name: Archive url: http://web.archive.org/web/20250321020441/https://laravel-news.com/controller-refactor archive: true title: "Restructuring a Laravel Controller using Services, Events, Jobs, Actions, and more - Laravel News" date: 2022-05-27 keywords: [] cover: "images/screenshot.png" # Example: # links: # - name: "LEGO (France)" # lang: "fr" # url: "https://www.lego.com/fr-fr/product/t-rex-rampage-75936" # official: true status: [ { "date": "2025-03-25T10:45:41.549Z", "http_code": 200 } ] weather: temperature: 15.3 humidity: 70 pressure: 1022.5 illuminance: 36869.700000000004 precipitations: true wind_speed: 18.9 wind_direction: 278 source: - open-meteo --- > In this tutorial, learn some of the ways you can refactor a controller and utilize services, events, jobs, actions and more