Download the PHP package eltharin/reloadablefield without Composer

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

Symfony ReloadableFields Bundle

Latest Stable Version Total Downloads Latest Unstable Version License

Installation

What is ReloadableFields Bundle?

This bundle will help you to work with reloadbale fields, it will make the ajax query and the backend for reload a form select.

The select will have a new event "reload" witch call an ajax query.

When you modify in other page the data linked to the field you can easiest reload them.

This library use junior.js, my small library for manage events, http request and other.

you can download it like this :

You nedd to have the JuniorJs suite for use this bundle :

Or you can use your own script by settings this configuration :

if you want to use default JS for ajax query, leave useOwnJsFile parameters at false and import eltharin/twigfilesgetter for load unique Js : https://github.com/eltharin/TwigFilesGetter

by default, it adds a markup in params/after, you need to update your form theme to view it by add :

ReloadButton HTML

By default, the HTML of the ReloadButton use fontAwesome :

For change the ReloadButton HTML for all of your site, you can create a form template with a block named reloadablefield_reload_button :

or for change only once, in Type Class :

Don't forget to add reload_button class for use default js.

Bonus

How add a "add" button for launch a form popup and reload automaticly the select :

1- in Type Class : add params :

2- with my other JS bundle : https://github.com/eltharin/juniorjs you can have the openpopup class, form will be called in ajax and print in a popup

3- by default automaticly, it add an event "onFormSubmitSuccess" executed after form submit per example:


All versions of reloadablefield 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 eltharin/reloadablefield contains the following files

Loading the files please wait ....