Download the PHP package zotyo/u-filer without Composer

On this page you can find all versions of the php package zotyo/u-filer. 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 u-filer

uFiler

The package offers you a more convenient way to manage file uploads in Laravel.

Instead of reinventing the wheel at each file-upload managing your uploaded files will be easy and consistent.

By default the package is configured to upload images but you can use for any mime type.

Installation

After downloading the package, add PackageServiceProvider to the providers array of your config/app.php

Finally you should publish config of the package with some examples.

Usage

Several components come with the package to reduce the effort of implementing a proper file-upload.

File-input

You can publish a file-input.vue component into your /resources/assets/js/components folder. Modify the component so it would fit into your design.

The vue-component uploads the file to a specific endpoint.

Note: You can avoid VueJS at all if you want so.

Endpoint(Route+Controller)

The package provides an Http endpoint for uploading files. You can disable the endpoint int the configuration file. If you would like to define your custom endpoint, you can still reuse UploadControllerTrait.

Eloquent

The HasFile trait provides methods so you can easily create accessors/mutators in you model. In the following example User's avatar is a file.

Validation

Don't forget to validate files when submitting your entities. The package provides the verify-file-by-token validation rule to avoid hijacking of files.


All versions of u-filer with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.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 zotyo/u-filer contains the following files

Loading the files please wait ....