Download the PHP package tu6ge/laravel-form-item without Composer

On this page you can find all versions of the php package tu6ge/laravel-form-item. 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-form-item

Laravel Form Item Component

Tests Coverage Status

中文

This is a laravel 7+ blade component.I can help you when your embedding form item in view file. I haved many frequently-used form item. ex: input, textarea,number input,radio,select, checkbox,datepicker,timepicker,slider,switche and cascade selector.

You may include any one form item in your blade view file , when you need it. If you submit your form, this form item value can be submited to action path with other form data.

You also may import you old value to one form item in edit form page. If you are not modification it, and submit form. this value can remain unchanged.

Example

Let's take the radio as an example to introduce the following. first, we need to construct the option data in the PHP file:

In blade file, this have two cases, add data or edit data.Let's introduce them separately.

Add

Edit

Document

See docs

Test

TODO

  1. I plan to use the push mode of blade to insert JS and CSS files
  2. element UI i18n affects date-picker.
  3. Using blade template engine outside of laravel -- one's energy is limited, and the community is expected to give test cases
  4. If the problem is known, select multiple buttons, return to the page after submitting, and submit the data again,issue
  5. If there is no default value for select, the first value is not selected by default.
  6. date picker is not available.
  7. slider range select.

All versions of laravel-form-item with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3 || ^7.4 || ^8
ext-mbstring Version *
pascaldevink/shortuuid Version ^3
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 tu6ge/laravel-form-item contains the following files

Loading the files please wait ....