Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jansenfelipe/laraeditable

Edit images and texts in Laravel Views
https://github.com/jansenfelipe/laraeditable

Last synced: 3 days ago
JSON representation

Edit images and texts in Laravel Views

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

```