Project scaffolding for Reflect and Vegvisir projects
Find a file
Victor Westerlund 71a9f12b02 fix: use func_num_args() to determine if $return should be used for Database\Model (#30)
It was not possible to set the return type explicitly as `null`, since that was the value we checked for if we should return the value of `$return` or not. We're not checking the total amount of arguments provided to check if a `$return` value was passed or not.

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/30
2026-02-22 14:41:41 +01:00
src fix: use func_num_args() to determine if $return should be used for Database\Model (#30) 2026-02-22 14:41:41 +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;