A nix flake based development environment for Laravel with PNPM
and Xdebug
support. The goal is to package everything relevant for running your development environment. Installing packages, running a front-end watcher, linters, formatters, composer, etc. Everything else should be abstracted away into dedicated Docker containers so as to match production as closely as possible.
This devshell is meant to be pulled into your project as a git submodule. The idea is to manage changes in a separate and centralized repository. If different versions need to be maintained then those should be stored on separate branches.
To use devshell-php
and assuming you are using nix-direnv
:
- Add it as a git submodule
git submodule add https://github.com/99linesofcode/devshell-php ./devshell
- Define a
.envrc
in your project root folderecho use flake ./devshell >> .envrc
- Run
direnv allow
- Add
.direnv/
to your.gitignore
Please review our Contribution Guidelines.
In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.
Please review our security policy on how to report security vulnerabilities.
This software is open source and licensed under the MIT license