Skip to content

Instantly share code, notes, and snippets.

@nenodias
Last active March 5, 2017 23:04
Show Gist options
  • Select an option

  • Save nenodias/2ae2a282ac1d60fee426ce09ca3a76e3 to your computer and use it in GitHub Desktop.

Select an option

Save nenodias/2ae2a282ac1d60fee426ce09ca3a76e3 to your computer and use it in GitHub Desktop.
Laravel dependencies ubuntu

-- Laravel dependencies php 7 sudo apt-get install php7.0-cli php7.0-mbstring php-xml php7.0-sqlite3 php7.0-pgsql php7.0-mysql php-xdebug

--Laravel php5 sudo apt-get install php5-cli php5-pgsql php5-mysql php5-sqlite php5-xdebug

Configurar o xdebug.ini

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.idekey=xdebug.atom
xdebug.remote_autostart=true

Para debugar utilizar p php -S localhost:8000 na pasta public do projeto Laravel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment