Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate testbench.yaml using Symfony Yaml #37

Open
crynobone opened this issue Oct 18, 2024 · 0 comments
Open

Generate testbench.yaml using Symfony Yaml #37

crynobone opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request fund poc

Comments

@crynobone
Copy link
Member

crynobone commented Oct 18, 2024

use Symfony\Component\Yaml\Yaml;
use Workbench\App\Providers\WorkbenchServiceProvider;

$array = array_filter([
  "providers" => [WorkbenchServiceProvider::class],
  "migrations" => null,
  "workbench" => ["discovers" => ["web" => false]]
]);

$dump = Yaml::dump($array, 3, flags: Yaml::DUMP_NULL_AS_TILDE);

var_dump($dump);

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@crynobone crynobone added the enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fund poc
Projects
None yet
Development

No branches or pull requests

1 participant