Download the PHP package ctf0/over-seer without Composer
On this page you can find all versions of the php package ctf0/over-seer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ctf0/over-seer
More information about ctf0/over-seer
Files in ctf0/over-seer
Package over-seer
Short Description preview form data before saving to the db
License MIT
Homepage https://github.com/ctf0/OverSeer
Informations about the package over-seer
OverSeer
A tiny package to help preview any form data before submitting to the db.
If you are looking to have a control over the saved content as well, you may want to give Odin a try too.
Installation
-
composer require ctf0/over-seer
-
(Laravel < 5.5) add the service provider.
-
publish the package assets with
php artisan vendor:publish --provider="ctf0\OverSeer\OverSeerServiceProvider"
-
install dependencies
- add this one liner to your main js file and run
npm run watch
to compile yourjs/css
files.- if you are having issues Check.
Usage
-
add an id to the form you want to collect its content, ex.
-
then add the vue component anywhere near that form
form-id
is the id you gave to your form, in that casemy-form
template
is where you want to display the data, exviews/posts/overseer
title
optional url title, so instead of justmy.app/overseer
it would bemy.app/overseer/my-awesome-title
-
now in the view where we will display our data, we can access it like
just like you would usually do with any model.
Notes for WYSIWYG Editors
- we currently support
tinyMCE
but if you are using any other editor, PRs are welcome :trophy:
Security
If you discover any security-related issues, please email [email protected].