manuxi / sulu-archive-bundle
Archive management bundle for Sulu CMS with dimension content support
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/manuxi/sulu-archive-bundle
Requires
- php: ^8.2
- doctrine/doctrine-bundle: ^2.13
- sulu/sulu: ^3.0
- symfony/config: ^6.2 | ^7.0
- symfony/dependency-injection: ^6.2 | ^7.0
- symfony/framework-bundle: ^6.2 | ^7.0
- symfony/http-foundation: ^6.2 | ^7.0
- symfony/http-kernel: ^6.2 | ^7.0
- symfony/security-bundle: ^6.2 | ^7.0
- symfony/security-core: ^6.2 | ^7.0
- symfony/translation: ^6.2 | ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.0 | ^11.0
- symfony/browser-kit: ^6.2 | ^7.0
- symfony/console: ^6.2 | ^7.0
- symfony/phpunit-bridge: ^6.2 | ^7.0
README
The SuluArchiveBundle extends Sulu CMS with comprehensive archive management.
It enables the creation and management of archive entries with detailed information, documents, media galleries and multilingual support.
Over 30 customizable archive types allow flexible categorization of historical documents, photos, newspaper articles and more.
โจ Features
๐ Archive Management
- Extensive Archive Details - Different templates; Title, subtitle, summary, text, footer/sources
- Document Management - PDF attachments for downloadable documents
- Media Integration - Main images and image galleries
- 30+ Archive Types - Streets, buildings, historical documents, photos, newspaper articles, and more
- SEO & Excerpt - Full SEO and excerpt management
- Multilingual - Full translation support
- Author Management - Assign contacts as archive authors
- More - Trash, references, sitemaps, teaser, etc.
๐ Advanced Features
- Smart Content - Usable as a content block in any Sulu page
- Teaser Provider - Archives available as teasers
- Link Provider - Easy linking to archives in text editors
- Sitemap Integration - Automatic sitemap generation
- Search Integration - Full-text search in admin and website
๐ Prerequisites
- PHP 8.2 or higher
- Sulu CMS 3.0 or higher
- Symfony 6.2 or higher
- MySQL 5.7+ / MariaDB 10.2+ / PostgreSQL 11+
๐ฉ๐ปโ๐ญ Installation
Step 1: Install the package
composer require manuxi/sulu-archive-bundle
If you are not using Symfony Flex, add the bundle to config/bundles.php:
return [ //... Manuxi\SuluArchiveBundle\SuluArchiveBundle::class => ['all' => true], ];
Step 2: Configure routes
Add to routes_admin.yaml:
SuluArchiveBundle: resource: '@SuluArchiveBundle/Resources/config/routes_admin.yaml'
For website frontend, add to routes_website.yaml:
SuluArchiveBundle: resource: '@SuluArchiveBundle/Resources/config/routes_website.yaml'
Step 3: Update the database
# Check what will be created php bin/console doctrine:schema:update --dump-sql # Execute migration php bin/console doctrine:schema:update --force
Step 4: Grant permissions
- Go to Sulu Admin โ Settings โ User Roles
- Find the appropriate role
- Enable permissions for "Archives"
- Reload the page
๐ฃ Usage
Create your first archive entry
- Navigate to Archive in the Sulu admin navigation
- Click on Add archive
- Select an archive type
- Fill in the details (title, text, images, documents)
- Configure author settings (optional)
- Publish your archive entry
๐งถ Configuration
Configuration documentation: Settings
๐ Documentation
Detailed documentation in the docs/ directory.
- Archive Types - Configure custom archive types
- Sitemap - Sitemap integration
- Settings - Configuration options
๐ฉโ๐ณ Contributing
Contributions are welcome! Please create issues or pull requests.
๐ License
This bundle is licensed under the MIT License. See LICENSE.
๐ Credits
Created and maintained by manuxi.
Thanks to the Sulu team for the great CMS and fantastic support!
And thank you for your support and testing!
