Download the PHP package fienta/laravel-translatable-bootforms without Composer

On this page you can find all versions of the php package fienta/laravel-translatable-bootforms. 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 laravel-translatable-bootforms

Laravel Translatable BootForms

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads License

Make BootForms work flawlessly with Laravel Translatable!

By importing this package, generating translatable forms using BootForms is a breeze.

Installation

  1. Run the Composer require command to install the package

  2. In your app config, add the Service Provider in the $providers array after BootFormsServiceProvider and TranslatableServiceProvider

  3. In your app config, add the Facade to the $aliases array

  4. Publish the configuration file

Usage

Simply use the TranslatableBootForm Facade as if it were BootForm! That's it. Multiple form inputs will now be generated for the locales set in Translatable's configuration file. They will have the corresponding value for each language and will save all of the translations without any code manipulation.

Please review BootForms' documentation if you're unsure how to use it.

Example:

You can use the %name and %locale placeholders while specifying parameters. The placeholder will be replaced with the corresponding input name or locale. This can be useful for two-way data binding libraries such as Angular.js or Vue.js. E.g.

To render a form element only for some chosen locales, explicitly call renderLocale() as the final method and pass the locale or an array of locales as the first parameter:

If you need to apply a method only for certain locales, suffix the method with ForLocale and pass the locale or an array of locales as the first parameter:

In case you need to construct name attributes other than en[name], e.g. item.en.name, manually insert the %locale placeholder in your name attribute. Note that model binding will break for these inputs.

For customizing the locale indicator in the label (and several other settings), please take a look at the configuration file.


All versions of laravel-translatable-bootforms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9|>=8.2.0
illuminate/support Version >=5.5|>=11.0
fienta/bootforms Version ^1.2.0|^1.7.2
astrotomic/laravel-translatable Version >=8.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 fienta/laravel-translatable-bootforms contains the following files

Loading the files please wait ....