nigo / fb2-book
0.0.1
2023-12-13 07:40 UTC
Requires
- php: >=8
- larapack/dd: ^1.1
This package is auto-updated.
Last update: 2025-03-24 05:49:58 UTC
README
composer require nigo/fb2-book
Пример использования
<?php require_once 'vendor/autoload.php'; use Nigo\Fb2Book\Fb2Book; $fb2book = new Fb2Book(); $xmlBook = $fb2book->setTitle('My FB2 book') ->setAuthor('First Name', 'Last Name') ->setAnnotation('My book annotation') ->setBookLang('en') ->addSection('First section for book', 'Chapter one') ->addSection('Second section for book', 'Chapter two') ->create(); echo $xmlBook;