Skip to content

Releases

🚀 v2.0.0: Sketch Advanced - Introducing Service Repository Pattern & Enhanced Schema Definitions

Choose a tag to compare

@dayCod dayCod released this 26 Jan 09:19

Sketch 2.0.0 represents a significant evolution in Laravel application scaffolding, introducing comprehensive service repository pattern integration and enhanced schema definitions. This major release transforms Sketch from a simple CRUD generator into a sophisticated application structure generator.

Major Enhancements

Service Repository Integration

  • Automatic generation of repository and service layers
  • Implementation of BaseRepository with common CRUD operations
  • Generation of empty interfaces for customizable implementation
  • Support for both UUID and ID-based operations

Enhanced Schema Definitions

  • Improved relationship handling with detailed configuration options
  • Advanced pivot table management for many-to-many relationships
  • Flexible foreign key configurations with explicit table references
  • Support for nullable and typed pivot columns

Form Request Improvements

  • Enhanced validation rule generation
  • Support for pivot table field validation
  • Improved relationship validation handling

Breaking Changes

This version introduces significant architectural changes and is not backward compatible with version 1.x. Users upgrading from previous versions will need to update their YAML schema definitions to match the new format.

Migration Note

For users upgrading from v1.x, please refer to the updated documentation for the new YAML schema structure and service repository implementation guidelines.

🔄 v1.0.2: Activating Model and Actions Generator

Choose a tag to compare

@dayCod dayCod released this 21 Jan 06:39

Sketch v1.0.2

🔄 v1.0.1: Enhanced Primary Key Support & Improved Schema Handling

Choose a tag to compare

@dayCod dayCod released this 21 Jan 06:26

Sketch v1.0.1

What's New

  • ✨ Added comprehensive primary key type support (ID, UUID, ULID)
  • 🔧 Enhanced relationship foreign key handling for various key types
  • 📝 Updated package description in composer.json

Changes

Primary Key Enhancements

  • Added support for ID, UUID, and ULID primary key types
  • Improved schema validation for primary key configurations
  • Updated blueprint generator to include key type options

Migration Generator Updates

  • Enhanced foreign key handling for different primary key types
  • Added automatic key type detection from relationships
  • Improved constraint generation based on key type

YAML Blueprint Improvements

Added keyType support in relationships:

relationships:
    - { 
        type: belongsTo,
        model: User,
        foreignKey: user_id,
        keyType: uuid # id, uuid and ulid
      }

🚀 First Release: YAML-Based CRUD Generator for Laravel

Choose a tag to compare

@dayCod dayCod released this 21 Jan 04:59

Sketch v1.0.0 - Initial Release

Features

  • ✨ Blueprint-based CRUD generation using YAML
  • 🔧 Support for Laravel 11.x and PHP 8.3
  • 📦 Generate models, migrations, and actions
  • 🔄 Support for all Laravel relationships
  • ✅ Form request validation generation
  • 🗂️ Organized schema file structure

Commands

  • sketch:make-blueprint - Generate YAML schema blueprints
  • sketch:generate - Generate files from YAML schema

Core Components

  • Model Generator with relationship support
  • Migration Generator with enum and foreign key support
  • Action Generator with validation rules
  • YAML Parser and Schema Validator
  • Comprehensive Test Suite

Directory Support

  • Flexible schema organization
  • Support for nested directories
  • Customizable output paths

Additional Features

  • Soft delete support
  • Customizable stubs
  • Force generation option
  • Proper error handling
  • Beautiful output messages