omnibase / gallery
Albums of photographs for omnibase: an Album is a Thread, its Photos are ordered, one album is one creation.
Package info
github.com/glitchr-studio/omnibase-gallery
Type:symfony-bundle
pkg:composer/omnibase/gallery
Requires
- php: ^8.2
- doctrine/orm: ^2.15|^3.0
- omnibridge/symfony: 1.x-dev
- omniscient/omnibase: 3.0.*-dev || 4.0.*-dev
- symfony/config: ^6.0|^7.0|^8.0
- symfony/dependency-injection: ^6.0|^7.0|^8.0
- symfony/form: ^6.0|^7.0|^8.0
- symfony/http-kernel: ^6.0|^7.0|^8.0
Requires (Dev)
- phpunit/phpunit: ^10.5|^11.0|^12.0
Suggests
- omnibase/admin: The back office screens: albums, their photographs in order, Publish and Featured.
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-18 01:19:30 UTC
README
Albums of photographs for the omnibase sites. One album is one creation: a sign hung, a van wrapped, a concert, a recipe - shown by its photographs, in order.
- An
Albumis an omnibaseThread: title, excerpt, text, slug, publication state and date, tags and taxa come from the core. It adds the day the work was made (madeAt), afeaturedflag and itsPhotos. - A
Photois a file with a caption, an alternative text, a credit, a place in the album, a cover flag and a free label ("Avant", "Après"). /galerielists the published albums, filtered by tag;/galerie/{taxon}is the page of one taxon;/galerie/{slug}one album, with schema.org'sImageGallery. The first segment is configurable (gallery.path).gallery_albums(limit, featured, taxon)in Twig, two partials (_album_card,_photos), a neutral stylesheet on--gallery-*variables.- A back office on omnibase/admin: the albums with their photographs in order, Publier and À la une.
- Written to be extended: an application's own entity (a realisation, a
wedding, a dish) is a subclass of
Album.
Nothing else: it does not follow a work while it is being done (that is omnibase/forge), and it knows no trade. No scroll library, no animation tied to scrolling.
Install
composer require omnibase/gallery:dev-main
// config/bundles.php Base\Gallery\GalleryBundle::class => ['all' => true],
# config/routes.yaml gallery_controller: resource: "@GalleryBundle/src/Controller/Client" type: attribute prefix: /
Then a migration (gallery_album, gallery_photo) and
bin/console assets:install for the stylesheet.
Documentation
- Installation and configuration
- Pages, Twig and styles
- The back office
- Extending Album in an application
Tests
vendor/bin/phpunit # checked out on its own php vendor/bin/phpunit -c vendor/omnibase/gallery/phpunit.xml.dist # from an application that requires it
Licence
MIT since 2026-10-09; earlier versions remain published under LGPL-3.0-or-later (LICENSE).