Download the PHP package gnu/scaffy-laravel without Composer
On this page you can find all versions of the php package gnu/scaffy-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gnu/scaffy-laravel
More information about gnu/scaffy-laravel
Files in gnu/scaffy-laravel
Download gnu/scaffy-laravel
More information about gnu/scaffy-laravel
Files in gnu/scaffy-laravel
Vendor gnu
Package scaffy-laravel
Short Description Laravel adapters for the Scaffy/Core package.
License MIT
Package scaffy-laravel
Short Description Laravel adapters for the Scaffy/Core package.
License MIT
Please rate this library. Is it a good library?
Informations about the package scaffy-laravel
Scaffy Laravel Adapter
Scaffy Laravel is a Laravel-specific adapter for the Scaffy Core code generation system. It provides an Artisan command to generate Eloquent models directly from your database schema.
โจ Features
- ๐ฏ Generate models from SQL Server, PostgreSQL, or MySQL
- ๐ Fully decoupled via Hexagonal Architecture
- ๐ Analyzes your database structure using Laravel's DB layer
- โ๏ธ Pluggable support for custom adapters and databases
- ๐ ๏ธ Uses Laravel's Artisan Console Command
๐ Installation
Scaffy Laravel will be auto-discovered by Laravel.
๐ฆ Requirements
- PHP 8.1+
- Laravel 10, 11, or 12
- One of:
- SQL Server (
sqlsrv) - PostgreSQL (
pgsql) - MySQL (
mysql)
- SQL Server (
๐งฐ Usage
Options
| Option | Description |
|---|---|
--schema |
The database schema to use |
--table |
Only generate a model for a specific table |
--output |
(Coming soon) Output path for generated models (default: app/Models) |
--with-relations |
(Coming soon) Generate relationships between models |
โ๏ธ Configuration & Binding
Scaffy binds a default database adapter based on your DB_CONNECTION.
To override or extend:
๐งฑ Architecture
Scaffy follows Hexagonal Architecture:
scaffy-core: Business logic & interfacesscaffy-laravel: Laravel integration (command, container)- Future: CLI, Symfony, CodeIgniter, standalone PHP
๐งช Example Output
๐ License
MIT ยฉ gnujesus
All versions of scaffy-laravel with dependencies
PHP Build Version
Package Version
Requires
gnu/scaffy-core Version
^1.1
illuminate/support Version ^10.0 || ^11.0
illuminate/console Version ^10.0 || ^11.0
php Version >=8.0
illuminate/support Version ^10.0 || ^11.0
illuminate/console Version ^10.0 || ^11.0
php Version >=8.0
The package gnu/scaffy-laravel contains the following files
Loading the files please wait ...