laravel-beyond icon indicating copy to clipboard operation
laravel-beyond copied to clipboard

Deptrac integration

Open Wulfheart opened this issue 3 years ago • 4 comments

Just like #37 based on Ryutu Hamasakis talk at Laracon Online Winter 2022 (https://youtu.be/0Rq-yHAwYjQ?t=5885 -> link now with different timestamp than before): To seperate the domain boundaries we could use deptrac and maybe add this to the default template. What do you think?

Wulfheart avatar May 18 '22 07:05 Wulfheart

This sounds quite interesting, could you provide some examples or more information about how you would expect this to be integrated?

regnerisch avatar May 18 '22 08:05 regnerisch

It depends. I am not that familiar with the book. How does the communication between domains work? Via Actions? Is there an open source application which uses this package?

Wulfheart avatar May 22 '22 20:05 Wulfheart

I don't know any open source application using our package and/or Spaties book. @regnerisch Tell me if I'm wrong but domains mainly communicate via Actions.

alexanderkroneis avatar Aug 02 '22 07:08 alexanderkroneis

I am not sure. I don't exactly recall everything from Laravel Beyond Crud. But as far as I recall correctly one shouldn't e.g. use the model of another domain. Am I right about this?

Wulfheart avatar Sep 11 '22 13:09 Wulfheart

We'll close this issue since we don't want to add another dependency on the stack. Thank you for your contribution.

alexanderkroneis avatar Feb 22 '23 10:02 alexanderkroneis

We could add a command php artisan beyond:publish:deptrac with an default config for the new v7 structure. So the users are free to add it to their project or not.

regnerisch avatar Aug 03 '23 06:08 regnerisch

We now support Deptrac! php artisan beyond:publish:deptrac publishes a v7 compatible deptrac.yaml file and allows users to enforce architectural decisions by Laravel Beyond.

Edit: I just configured a small amount, it would be nice if somebody could configure all missing classes! Maybe @Wulfheart?

regnerisch avatar Nov 30 '23 09:11 regnerisch