- What is survos/ark-bundle used for?
- survos/ark-bundle is a Symfony bundle for working with ARK persistent identifiers. It provides tools to mint, validate, and resolve Archival Resource Keys, configure NAANs and shoulders, and give records stable, citable links. It is aimed at applications that need ARK support rather than generic URL handling.
- How do I install survos/ark-bundle?
- Install the package with Composer using composer require survos/ark-bundle. Then register the bundle in your Symfony application if Symfony Flex does not do it automatically. Check the repository README for the exact registration and configuration steps for your Symfony version.
- Does survos/ark-bundle support Laravel?
- The package is published as a Symfony bundle, and the available context does not advertise Laravel support. Laravel developers can still evaluate it, but they should expect to adapt Symfony bundle conventions or choose a Laravel-native ARK solution. Verify framework compatibility before adding it to a Laravel application.
- How do I configure NAANs and shoulders in survos/ark-bundle?
- The bundle is designed to configure NAANs and shoulders for ARK creation. You set your assigned NAAN and shoulder values in the bundle configuration, then use the minting functionality to generate identifiers. Confirm the exact configuration keys and service names in the package README.
- Can I validate an existing ARK with survos/ark-bundle?
- Yes, validation is part of the bundle's stated purpose. You can use its validation functionality to check an ARK's structure and its configured NAAN and shoulder context. Add tests around your own identifiers to confirm the validation behavior your application expects.
- How does ARK resolution work in survos/ark-bundle?
- The bundle supports resolving ARKs so your application can turn an ARK into its target resource or metadata workflow. Resolution usually depends on the ARK resolver and how your application is configured. Review the README for the supported resolver setup and any required services.
- Which Symfony versions does survos/ark-bundle require?
- The provided context does not specify supported Symfony or PHP versions. Check the package's composer.json on GitHub or Packagist for the exact framework and PHP constraints. Confirm those constraints match your application before installing.
- Is survos/ark-bundle suitable for production use?
- The bundle targets persistent identifier workflows, which are often used in production catalog, repository, and archival systems. Before production use, pin the package version, test minting and resolution with your real NAAN and shoulder, and monitor resolver behavior. Also review the repository's recent activity and open issues for maintenance signals.
- How should I test ARK minting and validation in my application?
- Write tests that mint ARKs using your configured NAAN and shoulder, validate the generated identifiers, and resolve known ARKs. Use test-specific configuration so automated tests do not create real persistent identifiers. Mock external resolver calls where possible to keep tests fast and deterministic.
- What are alternatives to survos/ark-bundle for ARK identifiers?
- Alternatives depend on your framework and whether you need ARK-specific tooling or generic persistent identifier support. For Symfony, compare other ARK, DOI, or Handle bundles; for Laravel, look for Laravel-native packages or build ARK minting and resolution around a dedicated resolver service. Evaluate maintenance activity, NAAN support, and resolver features before choosing.