librarianphp/command-build

Librarian's static build command

1.2.2 2023-06-20 06:18 UTC

README

Librarian's static builder command.

./librarian build

Config Requirements

Add the following static.php config file in Librarian's config folder:

<?php

return [
    /*****************************************************************************
     * Settings for static build output
     ******************************************************************************/
    'output_path' => __DIR__ . '/../public',
    'assets_path' => __DIR__ . '/../app/Resources/public'
];
  • output_path: location where to dump the static build
  • assets_path: directory with public assets resources that should be copied into the document root of the generated website.