Download the PHP package brunoabpinto/magic without Composer
On this page you can find all versions of the php package brunoabpinto/magic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brunoabpinto/magic
More information about brunoabpinto/magic
Files in brunoabpinto/magic
Download brunoabpinto/magic
More information about brunoabpinto/magic
Files in brunoabpinto/magic
Vendor brunoabpinto
Package magic
Short Description Editable inline content with database persistence
License MIT
Package magic
Short Description Editable inline content with database persistence
License MIT
Please rate this library. Is it a good library?
Informations about the package magic
Laravel Magic
Editable inline content with automatic database persistence using Livewire.
Installation
-
Install via Composer:
-
Publish and run migrations:
- (Optional) Publish config:
Usage
In your Blade views:
or if you have multiple @magic blocks with the same text and want to keep them separate:
Features
- ✅ Inline editing with contenteditable
- ✅ Automatic database persistence
- ✅ Cache layer for performance
- ✅ Reset to original value
- ✅ Configurable cache and table names
Configuration
After publishing the config file, you can customize:
- Cache driver
- Cache prefix
- Database table name
Requirements
- PHP 8.1+
- Laravel 10.0+ or 11.0+
- Livewire 4.0+
License
MIT
All versions of magic with dependencies
PHP Build Version
Package Version
The package brunoabpinto/magic contains the following files
Loading the files please wait ...