librarianphp / command-build
Librarian's static build command
1.2.2
2023-06-20 06:18 UTC
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: 2024-10-20 09:03:28 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.