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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version ^8.5
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nemorize/hanji contains the following files

Loading the files please wait ...