Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Config Schema Gen Laravel Package

adamwojs/symfony-config-schema-gen

Generate JSON Schema from your Symfony app’s configuration. Adds a config:dump-schema console command to export schemas (JSON by default), with options like schema id, pretty-print, strict mode, and extension whitelisting.

View on GitHub
Deep Wiki
Context7

adamwojs/symfony-config-schema-gen

A utility bundle to generates JSON Schema from Symfony configuration.

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:

composer require adamwojs/symfony-config-schema-gen --dev

This command requires you to have Composer installed globally, as explained
in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    AdamWojs\SymfonyConfigGenBundle\SymfonyConfigSchemaGenBundle::class => ['dev' => true],
];

Usage

Basic usage

php bin/console config:dump-schema > config.schema.json

Synopsis

Usage:
  config:dump-schema [options] [--] [<extensions>...]

Arguments:
  extensions                     Extensions whitelist

Options:
      --schema-id=SCHEMA-ID      Unique identifier for the schema [default: "http://symfony.com/schema/config.schema.json"]
      --format=FORMAT            Output format [default: "json"]
      --pretty-print             Prettify schema output
      --strict                   Generates strict schema
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
  -e, --env=ENV                  The Environment name. [default: "dev"]
      --no-debug                 Switches off debug mode.
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor
spatie/laravel-javascript-views