buggregator / frontend

Buggregator UI
https://buggregator.dev/
15 stars 8 forks source link

Display proper Framework #85

Closed gander closed 9 months ago

gander commented 9 months ago

When not using laravel - don't show Laravel Version When using Symfony - show Symfony Version When other framework - don't show anything

obraz

butschster commented 9 months ago

Based on information from spatie repositories we need to rework approach with handling meta information.

  1. For Ray symfony package we need to use payload.meta.symfony_version - https://github.com/spatie/ray-bundle/blob/master/src/Ray.php#L115
  2. For Ray laravel package we need to use payload.meta.laravel_version - https://github.com/spatie/laravel-ray/blob/main/src/Ray.php#L504
  3. For Ray yii version use payload.meta.yii_version - https://github.com/spatie/yii-ray/blob/master/src/Ray.php#L104

Probably we just need to display all information from meta, or have some filter for keys

gander commented 9 months ago

Do you think it would be possible to standardize detailed data regardless of which library I use?

dump($this);
ray($this);

image