Download the PHP package daycode/sketch without Composer
On this page you can find all versions of the php package daycode/sketch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sketch
Blueprint-Based Structure Generator
Sketch is a powerful Laravel package that transforms your application development workflow. Instead of starting with migrations or models, Sketch allows you to define your entire application structure using simple YAML blueprints. This schema-first approach ensures consistency and accelerates development across your Laravel applications.
Features
-
📝 Blueprint-Based Generation
- Define your entire application structure in YAML
- Generate models, migrations, and services from a single source
- Maintain consistency across your application components
-
⚡ Rapid Development
- Eliminate repetitive boilerplate code
- Generate complete application components in seconds
- Focus on business logic instead of scaffolding
-
🧩 Built-in Relationships
- Support for all Laravel relationships
- Automatic foreign key generation
- Proper relationship method generation
- 🏗️ Service Repository Pattern
- Generate service and repository layers
- Follow SOLID principles automatically
- Maintain clean architecture effortlessly
Quick Installation
-
Install the package via Composer:
- Publish the configuration:
Quick Usage
-
Create a YAML blueprint:
-
Define your schema in the generated YAML file:
- Execute Specific Files
Configuration
After publishing the configuration file, you can modify these settings in config/sketch.php
:
Available Commands
Generate Blueprints:
Component Generation
Generation options:
--force
: Override existing files--service-repository
: Generate both service and repository layers--service-only
: Generate service layer only--repository-only
: Generate repository layer only
Testing
Contributing
Please see CONTRIBUTING.md for details on contributing to Sketch.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Daycode
- All Contributors
License
The MIT License (MIT). Please see License File for more information.