Download the PHP package forxer/blade-components-ide-helper without Composer

On this page you can find all versions of the php package forxer/blade-components-ide-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package blade-components-ide-helper

Blade Components IDE Helper

Generate IDE metadata for Laravel packages (and apps) that ship class-based Blade components:

Pick one VS Code output, not both. The snippets and the extension both complete <x-…>, and when generated together the snippets outrank the extension's suggestions. If your team uses the extension, generate --json --ide-json (skip --snippets); otherwise generate --snippets --ide-json. The ide.json (PhpStorm) is independent — keep it in either case.

It is a small, framework-only library: you describe your components with a ComponentDefinition, and either extend the provided AbstractIdeCommand or call the services directly.

Installation

This package is a dev tool — require it with --dev. If your package hydrates component properties at render time, do not require this one at runtime: require forxer/blade-components-reflection instead, which ships the AttributeReflector used both at runtime and by this generator.

The contract: ComponentDefinition

Attribute surfaces — what counts as a settable attribute

Both read descriptions and constrained value sets from docblocks: a property's summary and its @var 'a'|'b' literal union, or a constructor parameter's @param summary.

You can supply your own by implementing Forxer\BladeComponentsIdeHelper\Attributes\AttributeSurface.

Slot strategies — does the component accept inner content?

Implement Forxer\BladeComponentsIdeHelper\Slots\SlotStrategy for a custom rule.

Wiring a command

Describe your components once as an IdeTarget (a ComponentDefinition plus the file base name), in your service provider. Register it with the IdeTargetRegistry so the aggregate command can find it, and expose a thin per-package command whose target() returns that same target.

Running php artisan my-package:ide writes .vscode/my-package.code-snippets, .vscode/my-package.html-data.json, and ide-helper/my-package/ide.json.

Regenerating every consumer at once

The package auto-registers an aggregate command. Once each consumer has registered its target, php artisan blade-components-ide-helper:generate regenerates the metadata of every registered package in a single run — pass --only=base1,base2 to restrict it, plus the usual --snippets / --json / --ide-json format flags. A host application can then wire one post-autoload-dump line instead of one per consumer.

Multiple packages side by side

Each consumer writes files under its own base name, so several packages coexist without collision: VS Code loads every *.code-snippets, and Laravel Idea recursively merges every ide.json. The ide.json is written to a package-owned subfolder (ide-helper/<base>/), never the shared project root and never .vscode/.

License

MIT


All versions of blade-components-ide-helper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
laravel/framework Version ^12.0 || ^13.0
forxer/blade-components-reflection Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package forxer/blade-components-ide-helper contains the following files

Loading the files please wait ...