Project scaffolding for Reflect and Vegvisir projects
Find a file
Victor Westerlund 1536079fe3 feat: add static method to create new Database instance from credentials (#22)
In this PR we add a new static method for creating a `vlw\Scaffold\Database\Database` instance from a set of provided credentials. This is of course not ideal and a better way to instance this class should be added in the future.

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/22
2026-02-11 17:25:22 +01:00
src feat: add static method to create new Database instance from credentials (#22) 2026-02-11 17:25:22 +01:00
.gitignore initial commit 2025-10-29 19:56:57 +01:00
composer.json doc: add text that this library is primarily for Vegvisir and Reflect scaffolding (#23) 2026-02-11 17:25:05 +01:00
composer.lock initial commit 2025-10-29 19:56:57 +01:00
LICENSE initial commit 2025-10-29 19:56:57 +01:00
README.md doc: add text that this library is primarily for Vegvisir and Reflect scaffolding (#23) 2026-02-11 17:25:05 +01:00

Scaffold

This composer package (primarily) contains my project boilerplate code for working with Vegvisir and Reflect projects. It contains my most commonly used classes and functions which I use to make development of new project in these frameworks easier.

Refer to the documentation in each source file for more information about its function.

Installation

Run the install scripts for Vegvisir and/or Reflect, and then require this composer package to use its features anywhere in your project.

composer require vlw/scaffold

Refer to the code comments in each file for documentation about its function. The base namespace is vlw\Scaffold and each class and function can be used that way. For example:

use vlw\Scaffold\Database\Model;