Project scaffolding for Reflect and Vegvisir projects
Find a file
Victor Westerlund fd0c8cbbcd fix: pass an optional return value to Database\Model->set() (#28)
This PR addresses a bug that can arise (for example) if an object is passed to a database column that accepts a string. Passing this object (or something else) to the `$return` parameter will return the value of that variable instead of the value of `$value`

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/28
2026-02-16 15:07:11 +01:00
src fix: pass an optional return value to Database\Model->set() (#28) 2026-02-16 15:07:11 +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;