Sign inSign up

markdomkan/laravel-devcontainer

By markdomkan

•Updated about 5 years ago

Image
0

88

markdomkan/laravel-devcontainer repository overview

⁠Laravel Devcontainer Image

Contains all necessary to develop with larvavel and vscode devcontainer plugin using php artisan serve for serve your project.

For degugging you should make a call with Xdebug Chrome extension or pass by parameter XDEBUG_SESSION_START. For example: http://localhost:8000/?XDEBUG_SESSION_START⁠

Packages:

  • php: (use --build-args=PHP_VERSION );
  • zsh (default)
  • bash
  • git
  • composer
  • node
  • yarn
  • make
  • g++

PHP Extencions:

  • zip
  • bcmath
  • mysqli
  • pdo_mysql
  • exif
  • gd
  • intl

example of .vscode/lauch.json for debug:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9001,
            "hostname": "0.0.0.0",
             "pathMappings": {
                "/app/": "${workspaceFolder}/",
            }
        }
    ]
}

Tag summary

Content type

Image

Digest

Size

224 MB

Last updated

about 5 years ago

docker pull markdomkan/laravel-devcontainer:php8.0