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

Livewire Fakeable Laravel Package

tomeasterbrook/livewire-fakeable

View on GitHub
Deep Wiki
Context7
0.1.1

Added

  • Deep empty detection for arrays — arrays pre-filled with empty placeholder structures (all leaves null, '', or []) are now treated as empty and replaced with fake data
0.1.0

Initial release.

Features

  • Property-level #[Fakeable] — annotate public properties with any Faker formatter, optional seed, and formatter arguments
  • Bare #[Fakeable] inference — automatically infer formatters from property name (e.g. $emailsafeEmail), PHP type (stringword, intrandomNumber, etc.), or enum type (random case)
  • Array shapes — generate arrays of structured fake data with #[Fakeable(['key' => 'formatter'], count: N)]
  • Class-level state classes — point #[Fakeable(StateClass::class)] at an invokable class for full control
  • Livewire Form object support — attributes on Livewire\Form subclass properties are resolved automatically
  • HasFakeable trait — programmatic $this->fakeable(StateClass::class) from mount()
  • Four-layer safety guard — enabled flag, local environment, host allowlist (fnmatch globs), and Faker availability
  • Collapsible banner — visual indicator injected via middleware with localStorage persistence
  • Configurable locale — any Faker-supported locale via config/fakeable.php
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