Download the PHP package awcodes/matinee without Composer
On this page you can find all versions of the php package awcodes/matinee. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download awcodes/matinee
More information about awcodes/matinee
Files in awcodes/matinee
Package matinee
Short Description OEmbed field for Filament Panel and Form Builders.
License MIT
Homepage https://github.com/awcodes/matinee
Informations about the package matinee
Matinee
OEmbed and Video field for Filament Panel and Form Builders

Installation
You can install the package via composer:
[!IMPORTANT] If you have not set up a custom theme and are using a Panel follow the instructions in the Filament Docs first. The following applies to both the Panels Package and the standalone Forms package.
Add the plugin's views to your tailwind.config.js
file.
Rebuild your custom theme.
Preparing your model
Matinee stores its content as JSON data in a single column on your model. So, it is vital that you cast the column to an array or json object in your model.
Usage
Forcing the preview to show
Custom Providers
Matinee comes with a Provider for YouTube and Vimeo, but you can add your own by creating a class and passing it into the providers
modifier on the field.
Then you can use it by passing it into the providers
modifier on the field instance or globally in the register
method of a service provider with the configureUsing()
method.
Rendering the video
You are free to render the video in any way you see fit, but Matinee comes with a blade component you can use for convenience.
The stored data will take the following shape:
Testing
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
- Adam Weston
- All Contributors
License
The MIT License (MIT). Please see License File for more information.