Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jansenfelipe/laraeditable
Edit images and texts in Laravel Views
https://github.com/jansenfelipe/laraeditable
Last synced: about 2 months ago
JSON representation
Edit images and texts in Laravel Views
- Host: GitHub
- URL: https://github.com/jansenfelipe/laraeditable
- Owner: jansenfelipe
- Created: 2015-01-02T15:41:32.000Z (almost 10 years ago)
- Default Branch: 3.0
- Last Pushed: 2015-09-29T19:45:56.000Z (about 9 years ago)
- Last Synced: 2024-04-02T03:50:52.091Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 458 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laraeditable
![Demonstration](https://github.com/jansenfelipe/laraeditable/raw/master/demo.gif "Demonstration")
## How to use
### Add library:
```sh
$ composer require jansenfelipe/laraeditable
```### Add service provider in `config/app.php`:
```php
// file START ommited
'providers' => [
// other providers ommited
JansenFelipe\Laraeditable\LaraeditableServiceProvider::class,
],
// file END ommited
```### Publish assets:
```shell
$ php artisan vendor:publish
```### Add CSS and JS
```html
```
##### Find the element you want to edit in your view.blade. Add an identifier, the name of the view and the class `laraeditable`:
Ex: index.blade.php
```html
Some content
```
Ex: foo.blade.php```html
Some content
```