davedevelopment/phpmig — Issue #11: Bootstrap file
Author: Petah
Created: 2011-11-08 00:20:26+00:00
State: open

Another feature for thought.

Instead of having a default php bootstrap file called `phpmig.php`, perhaps a configuration file would be better, such as `.phpmig`

A few reasons for this would be:

- phpmig.php cannot be run standalone, and throws errors
- phpmig.php is accessible (by default) with Apache (.phpmig would not be)
- .phpmig could point to an appropriate bootstrap (or even multiple php files to be run)
- .phpmig could point to the migrations directory
- .phpmig would be more easily extendable to add extra properties in the future

The .phpmig format could be as simple as an INI, or perhaps even YAML, JSON, or XML