(this document is incomplete)
lib_emplacify is designed to be used in conjuction with flamework (as of this writing, specifically my fork). While it probably doesn't need to be part of core flamework I've already found uses for it in two other projects that hold hands with flamework so now it's a little bundle of libraries and functions that I can check out and slot in where necessary.
If you don't want to bother using flamework I've included just enough real and mock flamework code so that this code will run on its own. Take a look at the
test.php file for details.