- How do I install optimistdigital/nova-blog in a Laravel application?
- Install the package with Composer using composer require optimistdigital/nova-blog. It requires a Laravel application with Laravel Nova already installed and configured. After installation, review the package service provider registration and publish any assets or migrations according to the repository documentation. Run your migrations and verify the Nova resources appear in the admin panel.
- Does nova-blog support the Laravel Nova version I am using?
- The package is built specifically for Laravel Nova, but supported Nova major versions depend on the package release. Version 9.7.0 adds a nova-sortable dependency, so you must confirm that the bundled nova-sortable release supports your pinned Nova version. Check the composer.json constraints and the repository release notes before upgrading. Nova version pinning can be brittle, so test the resolved dependency graph in a clean environment first.
- What does nova-blog version 9.7.0 add?
- Version 9.7.0 adds drag-and-drop ordering for blog categories by wiring nova-sortable into the Category Nova resource. This is an additive UX enhancement rather than a new architectural concept. It requires a persistent sort or order column on the categories table so the admin panel can store the dragged order. Existing category records may need backfilling to get deterministic ordering.
- Do I need to add a migration for the category sort column in nova-blog?
- You should check whether release 9.7.0 ships a migration for the category ordering column or expects the host application to add it. The release note alone does not document the exact integration steps, so inspect the package migrations and the Category resource. If no migration is included, add an integer sort or order column to the categories table, plus an index if you query ordered listings at scale. Backfill existing rows so drag-and-drop ordering starts from a consistent state.
- Is nova-sortable a required dependency of nova-blog?
- Version 9.7.0 introduces nova-sortable as a new Composer dependency, but the release note does not clarify whether it is a hard require or an optional dev or peer dependency. Review the package composer.json to confirm the constraint and whether it can be omitted. Because it is a third-party package, include it in your dependency, license, and security review. Pin the resolved version and let your update tooling surface future releases.
- Will upgrading to nova-blog 9.7.0 change the order of my existing blog categories?
- A silent ordering change is the most likely behavioural regression when adding a sort column. If existing categories are left with null or duplicate sort values, the admin listing may no longer match the previous default ordering. Backfill the sort column deterministically and check whether any of your own code relies on the old latest or default ordering. Verify both Nova listings and any front-end queries after upgrading.
- Can I use optimistdigital/nova-blog without Laravel Nova?
- No. The package is a Laravel Nova package that provides Nova resources and admin panel tools for posts, categories, and tags. If your application does not run Laravel Nova, the package and the 9.7.0 sorting change are effectively inert for you. You would need a different blog or content management package that does not depend on Nova.
- How do I test blog post and category management after installing nova-blog?
- Create a feature branch, run composer update in a clean environment, apply any package migrations, and dry-run the category sort backfill against production-like data. Log in as an admin user and verify that the Category Nova resource renders, drag-and-drop order persists, and existing post listings still behave as expected. Also test concurrent reordering if multiple administrators may sort categories at the same time. Rollback is cheap: revert the dependency and drop the unused column if needed.
- Is nova-blog safe to use in production and how do I roll back the sorting feature?
- The 9.7.0 change is low risk because it is additive and shipped as a minor semver bump. The main production concerns are the new nova-sortable dependency, the added categories column, and possible ordering regressions. To roll back, revert to the previous package version, remove the dependency if it is no longer required, and drop the sort column as a separate reversible step. Schedule the backfill separately so you can undo it without touching the rest of the release.
- What are the alternatives to optimistdigital/nova-blog for managing Laravel blog content?
- Alternatives depend on whether you want a Nova-specific admin experience or a general Laravel content package. If you already run Nova, nova-blog is a drop-in fit because it provides posts, categories, tags, and related Nova resources. If you do not use Nova, look for a blog or CMS package that works directly with Laravel models and routing. Evaluate maintenance activity, Laravel and PHP version support, and whether the package offers the same category and tag management features.