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.
aimeos/prisma
besmartand-pro/php-quality-config
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor
spatie/laravel-javascript-views