2017 © Pedro Peláez
 

library mediabrowser

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

image

spescina/mediabrowser

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  • Monday, February 22, 2016
  • by simonpex
  • Repository
  • 1 Watchers
  • 16 Stars
  • 517 Installations
  • JavaScript
  • 0 Dependents
  • 1 Suggesters
  • 4 Forks
  • 7 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

Build Status Coverage Status, (*1)

MediaBrowser

Laravel 5.2 package that provide a basic user interface for browsing a server folder, for uploading files and for picking a file, (*2)

MediaBrowser preview, (*3)

Install && Usage

Run composer require spescina/mediabrowser, (*4)

Add the service provider in the config/app.php file, (*5)

Spescina\Mediabrowser\Providers\MediabrowserServiceProvider::class

Publish the package assets running php artisan vendor:publish, (*6)

Mediabrowser uses Fancybox as IFrame popup loader and for this reason requires jQuery., (*7)

Include in your template files Mediabrowser stylesheets, (*8)

<link media="all" type="text/css" rel="stylesheet" href="http://localhost/packages/spescina/mediabrowser/dist/mediabrowser-include.min.css">

and scripts, (*9)

<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://localhost/packages/spescina/mediabrowser/dist/mediabrowser-include.min.js"></script>

Now you have to insert an input field and a button for the fancybox trigger, for example, (*10)

<input type="text" name="yourfield" value="uploads/image.jpg" class="form-control" />
<span class="input-group-btn">
        <a data-fancybox-type="iframe" href="{{ route('mediabrowser', array('yourfield', 'uploads/image.jpg')) }}" class="btn btn-default mediabrowser-js" type="button"><span class="glyphicon glyphicon-folder-open"></span></a>
</span>

Notes

  • The library url can be generated through the mediabrowser named route. It accepts two parameters, field name and optionally the selected value.
  • Mediabrowser is configured for loading optimized assets when your laravel application is not in debug mode.

The Versions

22/02 2016

dev-master

9999999-dev

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

22/02 2016

4.0.2

4.0.2.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

19/02 2016

4.0.1

4.0.1.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

19/02 2016

4.0.0

4.0.0.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

18/02 2016

dev-develop

dev-develop

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

25/11 2015

3.0.1

3.0.1.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

25/11 2015

2.x-dev

2.9999999.9999999.9999999-dev

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

25/11 2015

2.1.5

2.1.5.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

23/11 2015

3.0.0

3.0.0.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

20/11 2015

2.1.4

2.1.4.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

04/12 2014

2.1.3

2.1.3.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

04/12 2014

2.1.2

2.1.2.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

04/12 2014

2.1.1

2.1.1.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

11/04 2014

2.1.0

2.1.0.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

11/04 2014

2.0.0

2.0.0.0

Laravel packages that provide a basic user interface for browsing a server folder, for uploading files and for picking a file

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simone Pescina

laravel upload media images file manager file browser

10/04 2014

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

by Simone Pescina