2017 © Pedro Peláez
 

project filemanager

Filemanager integrator with tinyMCE for laravel framework.

image

seguce92/filemanager

Filemanager integrator with tinyMCE for laravel framework.

  • Friday, January 20, 2017
  • by seguce92
  • Repository
  • 2 Watchers
  • 1 Stars
  • 15 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

FileManager for Laravel 5.3.|5.4.|5.5.|5.6.|5.8.*

Installation

Laravel 5.x:

You can install the package for your Laravel 5 project through Composer., (*1)

$ composer require seguce92/filemanager

Register the service provider array in app/config/app.php if laravel version is <= 5.4., (*2)

Seguce92\Filemanager\ServiceProvider::class,

You can optionally use the facade for shorter code. Add this to your facades in array aliases:, (*3)

'Filemanager' => Seguce92\Filemanager\FileManagerFacade::class,

Export setting file and resources with command:, (*4)

$ php artisan vendor:publish

Configuration

To start using the file manager perform the respective configuration in the file app\config\seguce92\filemanager.php, (*5)

    /**
     * PATH GLOBAL FILEMANAGER EMBED IN TINYMCE EDITOR
     * --------------------------------------------------------------
     *  Path filemanager resources
     */
    'filemanager' => '/filemanager/',

    /**
     * TITLE MODAL DIALOG
     * --------------------------------------------------------------
     *  Title of the modal dialog
     */
    'filemanager_title' => 'FileManager for Laravel with tinymce',

    /**
     * ROUTE OR URL
     * --------------------------------------------------------------
     *  Route or url
     */
    'url'   =>  'admin/filemanager/',

    /**
     * SINGLE IMPUT
     * --------------------------------------------------------------
     *  Single file manager charge in modal dialog
     */
    'single_filemanager'    =>  'filemanager/dialog.php?type=1&amp;field_id=image-filemanager&amp;relative_url=1',

    /**
     * FRAMEWORK STYLE
     * --------------------------------------------------------------
     * Select a use framework style (bootstrap, materializecss)
     */
    'style' =>  'bootstrap',

    /**
     * CUSTOM ICONS
     * --------------------------------------------------------------
     *  Custom icons relative style
     */
    'icons' => [
        'bootstrap' =>  [
            'select'    =>  'glyphicon glyphicon-picture',
            'clear' =>  'glyphicon glyphicon-trash'
        ],

        'materializecss'    =>  [
            'select'    =>  'photo',
            'clear' =>  'delete'
        ]
    ],

Use

Add style

{!! Filemanager::style() !!}

Add script

{!! Filemanager::script() !!}

Embend in TinyMCE 4 Editor

  1. First add the style and script directives
  2. In the content section use the directive, (*6)

    {!! Filemanager::textarea('title for label') !!}
    
  3. In the script section use the directive, (*7)

    {!! Filemanager::tinymce() !!}
    

Single input with Dialog Responsive Filemanager

  1. First add the style and script directives
  2. In the content section use the directive, (*8)

    {!! Filemanager::input('title for label') !!}
    

Example

@extends('layouts.app')

@section('style')
    {!! Html::style('path/to/bootstrap.min.css') !!}
    {!! Filemanager::style() !!}
@endsection

@section('content')


{!! Filemanager::textarea('content') !!} {!! Filemanager::input('image') !!}
CANCEL
@endsection @section('script') {!! Html::style('path/to/jquery.min.js') !!} {!! Html::style('path/to/bootstrap.min.css') !!} {!! Filemanager::script() !!} {!! Filemanager::tinymce() !!} @endsection

Information and Details

visit site mascodigo.net, (*9)

The Versions

20/01 2017

dev-master

9999999-dev

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

20/01 2017

v1.3.5

1.3.5.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

20/01 2017

v1.3.4

1.3.4.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

20/01 2017

v1.3.3

1.3.3.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

19/01 2017

v1.3.2

1.3.2.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

19/01 2017

v1.3.1

1.3.1.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

19/01 2017

v1.3.0

1.3.0.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

19/01 2017

v1.2.0

1.2.0.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4

19/01 2017

v1.0

1.0.0.0

Filemanager integrator with tinyMCE for laravel framework.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

laravel bootstrap filemanager materializecss tinymce 4