Weave Code
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

Custom Fields Laravel Package

relaticle/custom-fields

Laravel/Filament plugin to add dynamic custom fields to any Eloquent model without migrations. Includes 20+ field types, conditional visibility, tenant isolation, admin UI integration (forms/tables/infolists), CSV import/export, optional encryption, and extensible field types.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

  • Filament-Centric Design: Remains tightly integrated with Filament Admin, ideal for projects leveraging Filament for admin interfaces. No changes to this core fit.
  • No Database Migrations: Still avoids schema changes, aligning with dynamic field requirements. JSON storage trade-offs persist.
  • Eloquent Model Focus: Continues to work seamlessly with Eloquent, but non-Eloquent entities remain unsupported without custom adapters.
  • Multi-Tenancy Support: Built-in tenant isolation unchanged; context switching still requires explicit handling.

Integration Feasibility

  • Laravel 12 + PHP 8.3: No changes to version requirements. Laravel 13 compatibility introduced via PHPStan fixes (see fix(phpstan)), but no explicit Laravel 13 support declared. Test thoroughly if upgrading.
  • Filament Dependency: Unchanged; mandatory Filament integration remains a constraint.
  • Custom Field Storage: JSON serialization persists; no changes to storage mechanics or performance implications.
  • Validation & Security: Type-safe validation unchanged. Bug fix (fix: prevent self-clear of field_code) improves visibility condition stability but does not alter core validation logic.

Technical Risk

  • Performance Overhead: Unchanged. JSON storage risks persist, but no new performance-related changes in this release.
  • Data Integrity: Bug fix (field_code self-clear) reduces risk of corrupted visibility conditions, but no migrations or schema enforcement added.
  • Filament Version Lock: Still tied to Filament 3.x; no updates to Filament compatibility.
  • AGPL License: Unchanged; copyleft risk remains.

Key Questions

  1. Admin Stack Dependency: Unchanged – Still critical to confirm Filament exclusivity.
  2. Data Complexity: Unchanged – Query performance risks remain; no new indexing tools introduced.
  3. Multi-Tenancy Scope: Unchanged – Tenant context handling still requires explicit logic.
  4. Migration Path: UpdatedLaravel 13 compatibility (via PHPStan) may simplify future upgrades but requires testing.
    • New: How will this release interact with Laravel 13’s Eloquent changes (e.g., Scope signatures)?
  5. Extensibility Needs: UpdatedVisibility condition bug fix (field_code) may resolve edge cases for custom field visibility logic.
    • New: Are there plans to add native Laravel 13 support in future releases?
  6. Backup/Restore: Unchanged – No changes to data persistence mechanics.
  7. Audit Logging: Unchanged – Still no native support; custom implementation required.

Integration Approach

Stack Fit

  • Primary Fit: Unchanged – Laravel 12 + Filament 3.x projects remain the best fit.
  • Secondary Fit: UpdatedLaravel 13 compatibility (via PHPStan) may expand fit for projects planning upgrades.
    • Caveat: No explicit Laravel 13 support; test thoroughly.
  • Non-Fit: Unchanged – Non-Filament projects or those needing complex relationships remain incompatible.

Migration Path

  1. Assessment Phase: Unchanged – Audit existing fields and document gaps.
  2. Pilot Integration: Updated – Test Laravel 13 compatibility if upgrading.
    • Focus on:
      • Eloquent Scope behavior (affected by PHPStan fixes).
      • Filament 3.x stability on Laravel 13.
  3. Core Integration: Unchanged – Replace manual fields; extend for missing features.
  4. Data Migration: Unchanged – Use queued jobs for large datasets.
  5. API/Frontend Sync: Unchanged – Custom logic still required for non-Filament access.

Compatibility

  • Filament Plugins: Unchanged – Works with Forms/Tables/Infotables.
  • Laravel Ecosystem:
    • Laravel 13: Partial – PHPStan fixes suggest compatibility, but no official support. Test:
      • Eloquent Scope changes.
      • Filament 3.x stability.
    • Laravel Nova: Unchanged – Still incompatible.
  • Third-Party Packages: Unchanged – No conflicts reported; test custom interactions.

Sequencing

  1. Prerequisites: Updated
    • Upgrade to Laravel 12/PHP 8.3 (or test Laravel 13 if planning to migrate).
    • Install Filament 3.x.
  2. Core Setup: Unchanged – Publish and configure the package.
  3. Testing: Updated
    • Verify Laravel 13 compatibility if applicable.
    • Test visibility conditions (bug fix in field_code).
  4. Extensibility: Unchanged – Add custom field types/validation.
  5. Performance Tuning: Unchanged – Optimize queries if needed.
  6. Rollout: Unchanged – Phase by model; monitor performance.

Operational Impact

Maintenance

  • Pros: Unchanged – No migrations reduce overhead; centralized Filament management.
  • Cons:
    • JSON storage still complicates maintenance.
    • Laravel 13 compatibility is partial; may require custom patches if upgrading.
    • Bug fix (field_code) reduces but does not eliminate support risks.

Support

  • Strengths: Unchanged – Active development; Filament community support.
  • Challenges:
    • Laravel 13: New – No official support; issues may arise with Eloquent/Filament interactions.
    • Visibility conditions: Improved – Bug fix reduces but does not eliminate debugging complexity.

Scaling

  • Performance: Unchanged – JSON risks persist; mitigations (views, caching) still required.
  • Database Bloat: Unchanged – Monitor table growth.
  • Concurrency: Unchanged – No changes to write workload handling.

Failure Modes

Failure Scenario Impact Mitigation
JSON corruption in custom fields Data loss/rendering errors Validate on write; use transactions.
Laravel 13 incompatibility New – Admin panel or queries fail Test thoroughly; patch if needed; consider delaying upgrade.
Filament update breaks compatibility Admin panel fails Pin Filament version; test updates in staging.
Visibility condition logic errors Improved – Reduced but not eliminated Test edge cases (e.g., nested repeaters); roll back if issues persist.

NO_UPDATE_NEEDED for core assessment, but critical to test Laravel 13 compatibility and validate the field_code bug fix in staging. No breaking changes or new features warrant structural updates.

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.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle