Download the PHP package nemorize/hanji without Composer
On this page you can find all versions of the php package nemorize/hanji. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nemorize/hanji
More information about nemorize/hanji
Files in nemorize/hanji
Package hanji
Short Description A lightweight static site generator for PHP.
License proprietary
Homepage https://github.com/nemorize/hanji
Informations about the package hanji
Hanji
A lightweight static site generator for PHP 8.5, with Blade, PHP and Markdown pages.
Install
The starter creates hanji.php and a site/ directory. Deploy the generated
_site/ directory to a static host.
The development server supports CSS updates, live reload and build error overlays. Native file watching uses PHP FFI when available and falls back to polling.
Configure
hanji.php returns a Hanji\Config instance. Paths are relative to its directory.
Blade (.blade.php), PHP (.php) and Markdown (.md) pages become static HTML.
Other files are copied, including hidden and unreferenced files. Files whose names
start with @ are reserved for layouts, data, shared templates and other inputs;
they do not produce standalone output.
Use @layout.blade.php and Hanji::children() for layouts, and @meta([...])
in Blade or YAML front matter in Markdown for page metadata. Relative HTML and
CSS asset references follow output mappings and the configured basePath.
Optional SCSS
Register new Hanji\Plugin\Build\ScssBuildPlugin() with Config::plugin() to
compile SCSS. Without the plugin, SCSS files are copied unchanged.
CI and updates
Commit your site's composer.json and composer.lock. A build needs only:
Run composer update nemorize/hanji to adopt a new compatible release and commit
the updated lock file. No separate Hanji checkout is needed.
Development and releases
Release versions come from Git tags such as v0.1.0. Keep Console::VERSION in
sync with the release, run the checks, and push the tag. Packagist imports tags
from the registered GitHub repository; do not add a version field to
composer.json.
All versions of hanji with dependencies
amphp/http-server Version ^3.4
amphp/websocket-server Version ^4.0
illuminate/container Version ^13.0
illuminate/events Version ^13.0
illuminate/filesystem Version ^13.0
illuminate/support Version ^13.0
illuminate/view Version ^13.0
league/commonmark Version ^2.8
nikic/php-parser Version ^5.7
symfony/console Version ^7.4
symfony/filesystem Version ^7.4
symfony/finder Version ^7.4
symfony/process Version ^8.0
symfony/yaml Version ^7.4