Download the PHP package ewvlnet/dropzone without Composer

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

Laravel Package Dropzone

Dropzone is a package that allows you to upload files associated with resources such as users, posts and whatever else you want.

🔧 Installing in a Laravel project

See instructions at: https://ewvl.net/posts/laravel-package-dropzone

Add the FileTrait in the Models you want to work with dropzone, for example in a Model Post.

Create the migration file below in your project 2022_01_01_000008_create_files_table

This migration file must be run after migrations it references foreign, so in the example below where we use as foreign of 'post_id' and 'user_id', we must be sure that these migrations have already been executed before, otherwise we will get an error, when you run your migrations. Set the date in the filename so it always runs last.

Run the migration

In the dropzone-uploader.blade.php and dropzone-gallery.blade.php files, push('css') and push('js') are used, remember to include this in your master layout to load the necessary scripts.

Now, you can include the blade component below in an edit.blade.php file for example.

If you haven't already done so, run the command to publish the "symbolic link", to be able to see the images of the storage folder.

To display the gallery ( usually where you retrieve the model, such as a post.show.blade.php ).

If you want to associate other models to work with dropzone-uploader, just edit the migration file of the package, adding more models in the table, as in the example below:

Publish components and assets in your application and customize as you wish.

📄 License

MIT

Follow ewvl.net ✌️ 👺 ✌️


All versions of dropzone with dependencies

PHP Build Version
Package Version
No informations.
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 ewvlnet/dropzone contains the following files

Loading the files please wait ....