jansenfelipe/laraeditable

Edit images and texts in Laravel Views

Downloads

62

Stars

4

Version

3.0.0

Laraeditable L5

Demonstration

How to use

  1. Add require in composer.json:

    "jansenfelipe/laraeditable": "2.0.*@dev"

  2. Add service provider in config/app.php:

    'providers' => [ .. 'JansenFelipe\Laraeditable\LaraeditableServiceProvider' ]

  3. Publish assets:

    php artisan vendor:publish

  4. Add CSS and JS

    <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> <script src="/vendor/jansenfelipe-laraeditable/laraeditable.js"></script>
  5. Find the element you want to edit in your view.blade. Add an identifier, the name of the view and the class laraeditable:

    //index.blade.php

    Some content

    //foo.blade.php

    Some content
jansenfelipe

Author

jansenfelipe