codelego / phpfox-html
Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
pkg:composer/codelego/phpfox-html
This package is not auto-updated.
Last update: 2025-12-07 02:50:31 UTC
README
HTML Structure
{html}
{directive}
{header}
{title}
{keyword}
{description}
{meta}
{link}
{open_graph}
{style}
{inline_style}
{script}
{inline_script}
{static_html}
{body}
{search_main}
{search_nav}
{search_form}
{breadcrumb}
{mainMenu}
{subMenu}
{category}
Your Html Content Here
{footer
{script}
{inline_scripts}
{static_html}
Best Practice
In order to optimize front-end, let control javascript/stylesheet by your own.
- Put stylesheet resource to HEAD tag
- Put javascript resource to the end of BODY tag.
- Reduce number of requests
- Control javascript use
requirejs- Control stylesheet use
requirecss