Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Astrotomic Laravel Package

fnx-software/filament-astrotomic

A Filament plugin for Astrotomic Translatable models that simplifies multilingual content management. Edit translations directly in Filament forms and tables with locale-aware fields, tabs, and validation, reducing custom code and making translated records easy to maintain across your admin panel.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Strong fit for Laravel/Filament applications that store translated attributes in related translation tables. TranslatableSelect now aligns better with normalized translation schemas by resolving relationship option labels and search results through translated records rather than assuming translated attributes exist on the base table. This reduces the need for custom Filament select workarounds in admin/back-office forms.
  • Integration feasibility: Likely a low-friction Composer upgrade. Existing TranslatableSelect usage should remain compatible because translatableRelationship() and modifyQueryUsing are preserved. New capabilities are opt-in through translatableLabelUsing() and translatableSearchAttributes(). The main integration work is validating Filament/Laravel/PHP version constraints and confirming the related models expose the expected translation API, such as translate($locale).
  • Technical risk: Medium-low. The SQL error fix addresses a real failure mode when translated attributes exist only in translation tables. However, the release changes how relationship option loading, labels, and search are resolved, so regressions are possible in existing forms even without a documented breaking change. Composite labels and multi-attribute search may introduce additional query complexity or per-record translation access, so performance and locale fallback behavior need verification.
  • Key questions: Which Filament major versions are supported? Which translation package/model contract is assumed? Does search run against the active locale only or across all locales? How are missing translations and fallbacks handled in labels and search? Does translatableSearchAttributes() work with base-table and translated attributes together? Are there performance benchmarks for large related tables with searchable() and preload()? Are custom subclasses or overrides of TranslatableSelect affected by the changed relationship resolution?

Integration Approach

  • Stack fit: Best suited to Filament admin panels and internal tools where translated relationships need user-friendly labels and search. It is not a core domain-layer dependency; use it at the presentation/form layer. It fits well with translation patterns where related records have per-locale attributes in a translation table.
  • Migration path: Update the package to v2.1.0 in a branch, run the application test suite, and inspect existing TranslatableSelect fields for changed label/search behavior. No data migration is expected from the release notes. Adopt translatableLabelUsing() and translatableSearchAttributes() only where composite labels or multi-attribute search are required.
  • Compatibility: Confirm PHP, Laravel, Filament, and translation-package constraints before upgrading. Verify that existing modifyQueryUsing callbacks still behave as expected. TranslatableColumn and TranslatableEntry are unchanged, so scope validation to TranslatableSelect. Check any local subclasses or custom option-label logic.
  • Sequencing: First upgrade dependencies and run automated tests. Then add regression tests for the previously failing SQL scenario where translated attributes exist only in the translation table. Next add tests for composite labels, active-locale search, missing translations, and query customization. Finally validate performance on representative related-record volumes in staging before production rollout.

Operational Impact

  • Maintenance: Low ongoing maintenance for typical Filament usage, but teams should track upstream releases because relationship resolution and search behavior are now more central to the component. Internal documentation should cover the new label and search customization methods.
  • Support: The release should reduce support burden caused by SQL errors and custom translated-label workarounds. Support teams may still need guidance on locale fallback, missing translations, and why certain attributes are or are not searchable.
  • Scaling: Watch large relationship selects with preload() and multi-attribute search. Composite labels can cause additional translation access per option, and translated search may generate more complex queries. Use modifyQueryUsing() to filter and order candidate records, ensure relevant translation columns are indexed as appropriate, and benchmark realistic option counts.
  • Failure modes: Potential failures include missing or misconfigured translation relationships, blank labels when the active locale has no translation, search attributes that omit base-table fields users expect to match, and performance degradation on large preloaded lists. Custom label callbacks that access lazy-loaded translations per record may also create N+1 behavior.
  • Ramp-up: Low for developers already familiar with Filament and Laravel translations. Moderate for teams new to translated relationship querying. A short internal example covering composite labels, multi-attribute search, and regression tests should be enough to onboard maintainers.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle