Search by

devlyn-ai / laraspec

devlyn

Laravel-native specification engine — blueprint.yaml as the source of truth

v0.1.0 2026-06-11 09:45 UTC

This package is auto-updated.

Last update: 2026-09-11 10:24:34 UTC


README

This package installs the LaraSpec CLI globally via npm when you run composer require or composer install.

Requirements

  • PHP 8.1+
  • Node.js 18+
  • npm

Installation

composer require devlyn-ai/laraspec

After installation, laraspec will be available as a global CLI command.

Usage

# Initialize LaraSpec in your Laravel project
laraspec init

# Generate code from blueprint.yaml
laraspec generate --all

# Validate your blueprint
laraspec validate

Manual npm Install

If the automatic install fails (e.g., permission issues), install manually:

npm install -g laraspec

Links