My favorite Laravel development environment, with Docker, Nginx, PHP-FPM Xdebug in VSCode

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • If everything is opening up as expected then you can continue with the IDE set up for XDebug. If not then have a look a the github repo or leave me a comment and I can try to assist you. Also have a look the troubleshooting section.

  • laravel-dev-image

    Discontinued [Moved to: https://github.com/snake-py/docker-images]

  • Create a Dockerfiles - I am gonna use an image that I have created for this guide (GitHub or from hub.docker)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Predis

    A flexible and feature-complete Redis client for PHP.

  • I am going to connect to redis using the libary predis. Simply add the following to your compose.json

  • vscode-php-debug

    PHP Debug Adapter for Visual Studio Code 🐞⛔

  • Now the set up for VS Code to actually use the debugger you need first to install the following extension.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts