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

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. $email → safeEmail), PHP type (string → word, int → randomNumber, 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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource