Download the PHP package hadyfayed/filament-react-wrapper without Composer

On this page you can find all versions of the php package hadyfayed/filament-react-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-react-wrapper

React Wrapper for Laravel/Filament

npm version License: MIT TypeScript Laravel Filament

A comprehensive React integration system for Laravel and Filament applications, providing seamless component registration, state management, and real-time synchronization with built-in memory leak prevention and infinite loop protection.

🚀 Features

📦 Installation

Quick Start

💡 Pro Tip: Use with vite-plugin-filament-react for enhanced developer experience with auto-discovery, dev tools, and performance optimization.

Laravel Setup

  1. Add to your JavaScript entry:

  2. Update Vite config (with plugin):

  3. Optional: Register the Filament plugin:

  4. Add to your app.js:

  5. Build your assets:

🎯 Quick Start

1. Register a React Component

2. Use in Blade Templates

3. Use in Filament

📚 Component Registration

Basic Registration

Advanced Registration with Lazy Loading

Bulk Registration

Registration from Laravel/PHP

You can also register React components from the Laravel/PHP side, which is useful for package authors or when you want to manage component registration through Laravel configuration:

Service Provider Registration

Configuration-Based Registration

Add to config/react-wrapper.php:

Artisan Command for Registration

Generate component registration via Artisan:

Facade Usage

Use the ReactWrapper facade for quick registration:

Package Integration

For Laravel package authors:

Dynamic Registration in Filament

Register components dynamically in Filament resources:

🎯 State Management

Using State Manager Provider

Using State Path Hook

Global State Manager

💾 State Persistence

Using Persisted State Hook

Manual Persistence Service

🎨 Filament Integration

Creating Filament Components

Using in Filament Pages

Form Field Integration

🔧 Advanced Features

Middleware System

Error Handling

All components are automatically wrapped with error boundaries that provide:

🚀 Performance & Memory Safety

Memory Leak Prevention

The system includes comprehensive protection against memory leaks:

Infinite Loop Protection

Built-in protection against infinite loops in state updates:

Performance Optimizations

🔒 Security Features

Input Validation

XSS Prevention

🛠️ API Reference

Component Registry

State Manager

Hooks

PHP/Laravel API

ReactComponentRegistry Service

ReactWrapper Facade

ReactField Form Component

ReactWidget

Configuration Options

Artisan Commands

Event Hooks

🐛 Debugging & Troubleshooting

Enable Debug Mode

Common Issues

Component Not Found

State Not Syncing

Memory Leaks

📊 Testing

Unit Testing Components

Integration Testing

🚀 Deployment

Production Build

Environment Configuration

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

Code Style

We use ESLint and Prettier for code formatting:

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📞 Support


Made with ❤️ by Hady Fayed

⭐ Star us on GitHub • 🐦 Follow on Twitter • 📝 Read our Blog


All versions of filament-react-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^11.0|^12.0
filament/filament Version ^3.0
livewire/livewire Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hadyfayed/filament-react-wrapper contains the following files

Loading the files please wait ...