Download the PHP package asanzred/filemanager-laravel without Composer

On this page you can find all versions of the php package asanzred/filemanager-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filemanager-laravel

FileManager for Laravel

This package is based on: http://github.com/simogeo/Filemanager.git , and we have made modifications to encapsulate it, to get a single installable in our projects.

Once you have installed this package, you will have also all dependencies necessaries to work.

Installation

If you have composer installed globally, your need run:

Otherwise, you must have a composer.phar file in your base dir of your project to run:

Register Filemanager Provider

First, you need append the package provider to laravel providers array in the config/app.php file.

Configuration

This package, auto load/register "Gates Policies", "Routes", "Statics"... and you not need anything to work in your project.

But... you must configure the config vars to work successfully and customizing with your environment.

Running this command, the package copy (filemanager.php base config file) to laravel config dir, and you can edit this file.

Only one file, it's great!!

FileManager Config File

This is the config file, you can see a comment with an example of roles to limit user access to the filemanager.

To work with roles, you need to create roles table in your database with the next structure:

Then, you can access to the user role with Eloquent relations on the model:

And to activate user access, you need configure the middleware attributes of the config file:

Note1: If you only need one user access, create only admin role

Note2: If an user have multiple roles, only work's with first user role

Note3: If you not specify public_path, it will use /filemanager/

Note4: If you not specify roles_path, it will use public_path


All versions of filemanager-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
laravel/framework Version >=5.6
intervention/image Version ^2.6.1
guzzlehttp/psr7 Version ^2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package asanzred/filemanager-laravel contains the following files

Loading the files please wait ....