Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Artisan BaseNew to Visual Studio Code? Get it now.
Artisan Base

Artisan Base

Artisan Base

| (0) | Free
Editor utilities that keep Laravel project workspaces consistent.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Artisan Base

Editor utilities that keep Laravel project workspaces consistent.

Ctrl+Alt+L applies the bundled workspace standards to the open project:

  • Files missing from the project are added (with any needed directories).
  • Files that already match are left untouched (mtime preserved).
  • Files that differ are reported one by one, with the choice Replace / Keep / Show diff / Replace all / Keep all. Show diff opens the built-in diff editor.
  • Files are never removed from the project.

A summary (+N created, ~K replaced, ↩S kept, =M identical) is shown as a notification; the per-file detail goes to the Artisan Base output channel.

Usage

  1. Open a Laravel project folder.
  2. Press Ctrl+Alt+L, or run Artisan Base: Apply Workspace Standards from the command palette.
  3. Review the report and answer each difference prompt.

Behaviour details

  • If the workspace root contains no artisan file, the extension confirms before doing anything.
  • With several workspace folders, it first asks which one to target.
  • Esc at a difference prompt leaves all remaining files untouched.
  • The extension refuses to operate on its own installation folder.

Standards bundle

The bundled template/ directory holds the reference file set the extension compares against: a Laravel 10 code layer (app/, config/, routes/), a Bootstrap-based resources/views/layout.blade.php, and local assets (Bootstrap CSS/JS, PT Sans fonts). Dependency manifests and vendor/ are not part of it — those belong to composer create-project.

Paths in template/ mirror the Laravel project root, so template/config/database.php corresponds to config/database.php.

To build a variant with your own reference set:

npm install
npm run package   # produces artisan-base-<version>.vsix

Configuration

No settings. No telemetry. No network access: the extension only reads its own template/ directory and writes into the workspace you chose.

License

MIT — see the LICENSE file shipped in the extension package. Bundled fonts: PT Sans © ParaType, SIL OFL 1.1 (template/public/fonts/OFL.txt).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft