Download the PHP package pentatrion/upload-bundle without Composer

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

Symfony logo

UploadBundle for your Symfony application.

This Symfony bundle provides :

Installation

Recommended optional dependencies

Other dependencies

If you have installed liip/imagine-bundle, configure at least the small filter for your thumbnails.

Create directories with Apache user access in upload path and liipImagineBundle cache path (public/uploads, public/media)

Utilisation

FileHelper

in your FormType create a non mapped FileType

in your Controller

Twig functions

The bundle provide 2 twig functions :

in your page/show.html.twig template

with Mini File Manager JS library.

this bundle has been designed to integrate perfectly with Mini File Manager.

He offers /media-manager endpoint for the backend integration.

without helpers

with helpers

Twig template for the file manager. the mini-file-manager config is placed in data-props attribute.

Twig template for the file picker.

If you want more details about configuration, check Mini File Manager.

If you want exemple, check Mini File Manager Template

FilePickerType with mini-file-manager for your form

for full-list of imageOptions, have a look into mini-file-manager#Configuration repository.

add custom form theme for your form builder :

look at _form_theme.html.twig

Advanced Bundle Configuration

configure your upload directories

package configuration

if you set your class who implement UploadedFileHelperInterface (file_infos_helper option), you can extends UploadedFileHelper base class.

You have to add 3 binding for your constructor

Manual installation

if you do not want to use the recipe or want to see in depth what is modified by it.

add upload routes to your Symfony app.

add a config file for your bundle

if you have installed liip/imagine-bundle add the small filter.


All versions of upload-bundle with dependencies

PHP Build Version
Package Version
Requires imagine/imagine Version ^1.0
liip/imagine-bundle Version ^2.6
php Version ^7.2.5 || ^8.0
symfony/mime Version ^4.4 || ^5.0 || ^6.0
symfony/config Version ^4.4 || ^5.0 || ^6.0
symfony/dependency-injection Version ^4.4 || ^5.0 || ^6.0
symfony/http-kernel Version ^4.4 || ^5.0 || ^6.0
symfony/framework-bundle Version ^4.4 || ^5.0 || ^6.0
symfony/security-bundle Version ^4.4 || ^5.0 || ^6.0
symfony/serializer Version ^4.4 || ^5.0 || ^6.0
symfony/twig-bundle Version ^4.4 || ^5.0 || ^6.0
symfony/validator Version ^4.4 || ^5.0 || ^6.0
symfony/form Version ^4.4 || ^5.0 || ^6.0
symfony/finder Version ^4.4 || ^5.0 || ^6.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 pentatrion/upload-bundle contains the following files

Loading the files please wait ....