librarianphp / command-build
Librarian's static build command
Installs: 442
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
pkg:composer/librarianphp/command-build
Requires
- librarianphp/librarian-core: ^4.0
- minicli/minicli: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.16
- mockery/mockery: ^1.5
- pestphp/pest: ^2.4
This package is auto-updated.
Last update: 2025-09-20 10:51:15 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 buildassets_path
: directory with public assets resources that should be copied into the document root of the generated website.