You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Feature Request: Add Docker Support for Local Dev & Testing
Hi team 👋,
I noticed that the package doesn’t currently include a Docker setup. It would be really helpful if we could have a minimal Dockerfile and docker-compose.yml so contributors can spin up the environment quickly—without needing to manually configure PHP, dependencies, or databases.
Right now, to run tests or use Pest/Larastan locally, we need to have everything set up already. With Docker support, this process would become much smoother and more consistent across different dev setups.
✅ What I’m proposing:
Add a simple Dockerfile (PHP 8.2+, Composer installed)
docker-compose.yml with optional services like MySQL or SQLite
Mount volumes so changes reflect immediately
Easy commands for:
Running tests (vendor/bin/pest)
Static analysis (vendor/bin/phpstan analyse)
Maybe a small update to README.md to show how to use it
This can be a nice DX improvement, especially for contributors who just want to clone the repo and start testing things out.
Let me know if this is something you'd consider — happy to open a PR with an initial setup if you’re open to it 🚀
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Feature Request: Add Docker Support for Local Dev & Testing
Hi team 👋,
I noticed that the package doesn’t currently include a Docker setup. It would be really helpful if we could have a minimal
Dockerfile
anddocker-compose.yml
so contributors can spin up the environment quickly—without needing to manually configure PHP, dependencies, or databases.Right now, to run tests or use Pest/Larastan locally, we need to have everything set up already. With Docker support, this process would become much smoother and more consistent across different dev setups.
✅ What I’m proposing:
Dockerfile
(PHP 8.2+, Composer installed)docker-compose.yml
with optional services like MySQL or SQLitevendor/bin/pest
)vendor/bin/phpstan analyse
)README.md
to show how to use itThis can be a nice DX improvement, especially for contributors who just want to clone the repo and start testing things out.
Let me know if this is something you'd consider — happy to open a PR with an initial setup if you’re open to it 🚀
Beta Was this translation helpful? Give feedback.
All reactions