mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 03:21:57 +01:00
Project scaffolding for Reflect and Vegvisir projects
This is another follow-up PR for #22 which fixes a deprecation issue about defining optional parameters that are then called as named. ```php Database::set_credentials("db"); ``` ``` vlw\Scaffold\Database::set_credentials(): Optional parameter $host declared before required parameter $database is implicitly treated as a required parameter ``` Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/25 |
||
|---|---|---|
| src | ||
| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| LICENSE | ||
| README.md | ||
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;