mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-01-11 22:16:00 +01:00
Project scaffolding for Reflect and Vegvisir projects
This PR adds a new database boilerplate for manipulating data stored in a database through an instanced database Model. The only method implemented by this class so far is `Controller()->update()`. It can be used to patch column values for a database row given an instanced `vlw\Database\Model`. An associative array of column keys and values are then passed to the update method. Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/13 |
||
|---|---|---|
| src | ||
| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| LICENSE | ||
| README.md | ||
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
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;