Download the PHP package gnu/scaffy-core without Composer
On this page you can find all versions of the php package gnu/scaffy-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gnu/scaffy-core
More information about gnu/scaffy-core
Files in gnu/scaffy-core
Download gnu/scaffy-core
More information about gnu/scaffy-core
Files in gnu/scaffy-core
Vendor gnu
Package scaffy-core
Short Description A package that generated models based on your database entities. Works for MS SQL Server, MySql & PostgreSql.
License MIT
Package scaffy-core
Short Description A package that generated models based on your database entities. Works for MS SQL Server, MySql & PostgreSql.
License MIT
Please rate this library. Is it a good library?
Informations about the package scaffy-core
Scaffy Core
Scaffy Core is the framework-agnostic core of the Scaffy code generation system. It handles the business logic for generating model scaffolding based on your database schema, following a clean Hexagonal Architecture design.
โจ Features
- ๐ Completely decoupled from any PHP framework (Laravel, Symfony, etc.)
- ๐ก Provides clean ports for database and framework adapters
- ๐งฑ Reusable across Laravel, CLI tools, or other integrations
- ๐งฎ Generates model definitions from your actual database metadata
๐ฆ Requirements
- PHP 8.1+
- Composer
๐งฐ Installation
You can now import and use Gnu\Scaffy\Core
components in your project.
๐ง Hexagonal Architecture
Scaffy Core sits at the center of a hexagonal architecture:
๐ง Usage
Scaffy Core defines the core contracts and logic. To use it:
- Create an adapter implementing
FrameworkPort
- Create DB-specific implementations of
DatabasePort
- Inject and use them however you want (Laravel, CLI, custom)
Example usage in a Laravel adapter:
๐งฑ Components
Helpers
โ Utility functions for file and string handlingPorts\FrameworkPort
โ Interface for framework-side adapters
๐งช Example
โ Goals
- Maintain strict separation between business logic and frameworks
- Promote testability and flexibility across environments
- Encourage modular adapter/plugin design
- Development of Laravel APIs over exising databases.
๐ License
MIT ยฉ gnujesus
All versions of scaffy-core with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package gnu/scaffy-core contains the following files
Loading the files please wait ....