Symfony bundle that manages books and series for a publishing website — catalog, media collections, admin CRUD, pagination, and multilingual support.
- Book and series catalog with paginated list and detail views
- Each book supports media, video, press, and marketing sub-collections with drag-and-drop ordering
- Series group books with sorted ordering
- Multilingual: books can reference translations across languages
- Admin CRUD via EasyAdmin for books and series
- Live component search for books
- Sitemap generation
- Twig
isbnfilter for formatting ISBN numbers
- PHP >= 8.0
- c975L/UiBundle
- Doctrine ORM
- EasyAdmin
- KNP Paginator Bundle
- symfony/ux-live-component
- symfony/ux-twig-component
- VichUploader Bundle
composer require c975l/book-bundlephp bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrateAdd the bundle routes to config/routes.yaml:
c975_l_book:
resource: "@c975LBookBundle/"
type: attribute
prefix: /php bin/console assets:install --symlink| Route | URL | Description |
|---|---|---|
book_index |
/livres |
Paginated book list |
book_display |
/livre/{slug} |
Book detail page |
serie_index |
/series |
Paginated series list |
serie_display |
/serie/{slug} |
Series detail page |
Format a raw ISBN string in Twig:
{{ book.isbn|isbn }}
{# Outputs: 979-10-92030-14-3 #}Run the following command to generate public/sitemap-books.xml:
php bin/console book:sitemaps:createIf this project helps you save development time, consider sponsoring via the Sponsor button at the top of the GitHub page. Thank you!