oxytoxin / rewired
A Laravel package that makes Livewire and React play nice with each other.
Fund package maintenance!
Lerry Casero
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 2
pkg:composer/oxytoxin/rewired
Requires
- php: ^8.3
- illuminate/contracts: ^11.0||^12.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
This package is auto-updated.
Last update: 2026-01-12 12:50:56 UTC
README
This Laravel package allows you to:
- Use React inside Livewire
- Call Livewire inside React
Support me
Feel free to create discussions, open pull requests or provide suggestions.
This is my first ever Laravel package, so please go easy on me 😅.
Installation
You can install the package via composer:
composer require oxytoxin/rewired
You can publish and run the migrations with:
php artisan vendor:publish --tag="rewired-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="rewired-config"
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="rewired-views"
Usage
$rewired = new Rewired(); echo $rewired->echoPhrase('Hello, oxytoxin!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.