tempestphp / tempest-framework

The PHP framework that gets out of your way 🌊
https://tempest.stitcher.io
MIT License
635 stars 44 forks source link

Kernel refactor #311

Closed brendt closed 3 days ago

brendt commented 1 month ago

Moving bootstraps to application level and cleaning things up, including config discovery

aidan-casey commented 1 month ago

Here is a diagram of how we will try and set this up. The goal will be to eliminate the chicken and egg problem with the bootstrappers where they are discovering config files, but need the app config to work.

image


@brendt - One thing we've talked about in the past is decoupling discovery from the Tempest container. A specific example I can think of where that might be useful is a minimal console application, a non-Tempest application using the command/event bus, etc. To confirm, you are not wanting to do that?

brendt commented 1 month ago

To confirm, you are not wanting to do that?

I confirm, I do not want to do that :p

brendt commented 6 days ago

Related: #365 , #366

brendt commented 3 days ago

I'd say it's good enough for now.