#JSON to HTML <head> for PHP (json2htmlhead)
HTML <head> element generator from JSON for PHP
Application generates elements from defined JSON.
JSON supports two directories. One for development and one for release.
If you are using in your project only one directory, write same data for both objects - dev and release.
This structure is optional. You can omit any property. It will automatically filled with empty string.
javascript and css property can be augmented for new libraries. Number of libraries or fonts is not limited.
User can set own URL for JSON data:
$hg = new HeaderGenerator();
$hg->start("app/json/app.json");