Project scaffolding for Reflect and Vegvisir projects
Find a file
Victor Westerlund e1d3a09966 refactor: include Vegvisir source files from Reflect as a function (#3)
I know we just merged #2 and released verison 1.1.0 where the Vegvisir/Reflect crosstalk was supposed to be a class. But after using this briefly, I feel like it gets too verbose. This function will be called _a lot_ and therefore I think it should be pretty quick to type - just like the Vegvisir `VV` class.

Instead of typing
```php
use vlw\Scaffold\Scaffold;

Scaffold::include("some/file.php");
```
we can instead type
```php
use function vlw\Scaffold\load;

load("some/file.php");
```

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/3
2025-10-31 10:08:32 +01:00
src refactor: include Vegvisir source files from Reflect as a function (#3) 2025-10-31 10:08:32 +01:00
.gitignore initial commit 2025-10-29 19:56:57 +01:00
composer.json initial commit 2025-10-29 19:56:57 +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 initial commit 2025-10-29 19:56:57 +01:00

Scaffold

This composer package 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