- Install astromvim
- php auto complete
- Symfony autocomplete
- run tests
- debug
- https://github.com/neovim/neovim/releases
wget https://github.com/neovim/neovim/releases/download/v0.9.2/nvim-macos.tar.gz
| #!/bin/bash | |
| # You can run using: bash <(curl -fsSL https://gist.githubusercontent.com/eerison/b79070bf142e4ea301867bd3308dadea/raw/easy-php-setup.sh) | |
| git clone https://github.com/shield-wall/easy-php-setup.git | |
| cd easy-php-setup | |
| docker compose up -d --wait | |
| docker compose exec -T php git config --global --add safe.directory /app | |
| docker compose exec php composer install |
| #!/bin/bash | |
| # bash <(curl -fsSL https://gist.githubusercontent.com/eerison/78e1158ea624323139991814451bc55b/raw/sonata-page.sh) | |
| #just to make sure the containers are running | |
| docker compose up -d | |
| docker compose exec -T php git config --global --add safe.directory /app | |
| docker compose exec -T php composer config extra.symfony.allow-contrib true | |
| docker compose exec -T php composer require sonata-project/page-bundle |
| services: | |
| php: | |
| volumes: | |
| - ~/.config/nvim-external/xdebug-config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | |
| #It is necessary for linux environment. | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" |
| blueprint: | |
| test: 123 |
wget https://github.com/neovim/neovim/releases/download/v0.9.2/nvim-macos.tar.gz| <?php | |
| $parameters = $containerConfigurator->parameters(); | |
| $parameters->set(Option::SKIP, [ | |
| StringClassNameToClassConstantRector::class => [ | |
| __DIR__ . '/rector.php', | |
| ], | |
| ]); | |
| // it need to be used with rector php: https://github.com/rectorphp/rector |