Download the PHP
package paulmenheere/laravel-bootstrap-4-forms without Composer
On this page you can find all versions of the php package
paulmenheere/laravel-bootstrap-4-forms. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor paulmenheere Package laravel-bootstrap-4-forms Short Description Bootstrap 4 form builder for Laravel 5 Forked for development speedup License
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.
Informations about the package laravel-bootstrap-4-forms
Bootstrap 4 forms for Laravel 5
This is a package for creating Bootstrap 4 styled form elements in Laravel 5.
Features
Labels
Error messages
Bootstrap 4 markup and classes (including state, colors, and sizes)
Error validation messages
Form fill (using Model instance, array or after form submission when a validation error occurs)
Internationalization
Add parameters using php chaining approach
Zero dependences (no Laravel Collective dependency)
Introduction
Before
After
Installation
Require the package using Composer.
Laravel 5.5 or above
If you is using Laravel 5.5, the auto discovery feature will make everything for you and your job is done, you can start using now. Else, follow the steps below to install.
Laravel 5.4
Add the service provider to your config/app.php file
Add the BootForm facade to the aliases array in config/app.php:
Usage
Basic form controls
Opening and closing a form
Opening the form will add _token field automatically for you
Inline form
Fieldset
Param
Type
Default
Description
\$legend
string
null
Fieldset Legend
Basic inputs
Text inputs
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$default
string
null
Default value
Textarea
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$default
string
null
Default value
Select
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$options
array
[]
Select options
\$default
string
null
Default value
Select Default Value
Checkbox
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$value
string
null
Input value
\$default
boolean
null
Default value
Radio
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$value
string
null
Input value
\$default
boolean
null
Default value
File
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
Date inputs
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$default
string
null
Default value
Time inputs
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$default
string
null
Default value
Range inputs
Param
Type
Default
Description
\$name
string
null
Input name
\$label
string
null
Input label
\$default
string
null
Default value
Hidden
Param
Type
Default
Description
\$name
string
null
Input name
\$default
boolean
null
Default value
Anchor
Param
Type
Default
Description
\$value
string
null
Anchor text
\$url
string
null
Anchor url
Buttons
Param
Type
Default
Description
\$value
string
null
Button value
\$color
string
null
Button color
\$size
string
null
button size
Submit
Button
Reset
Chainable methods
This package uses chaining feature, allowing easly pass more parameters.
Filling a form
Param
Type
Default
Description
\$data
object
array
null
DAta fo fill form inputs
Url
Use in anchors and forms openings
Param
Type
Default
Description
\$url
string
null
Url
Route
Use in anchors and forms openings
Param
Type
Default
Description
\$route
string
null
Route name
Checked
Set the checkbox/radio checked status
Param
Type
Default
Description
\$checked
boolean
true
Checked status
Inline
Set the checkbox/radio checked status
Placeholder
Param
Type
Default
Description
\$placeholder
string
null
Placeholder text
Select Multiple
Locale
Using locale, the package will look for a resources/lang/{CURRENT_LANG}/forms/user.php language file and uses labels and help texts as keys for replace texts
If no autocomplete value is specified on the form, html spec requires
a default value of 'on'. So, you must explicitly turn it off.
Autocomplete values will be automatically generated for fields with
single word names matching valid values (e.g. name, email, tel, organization). The
complete list is in the spec mentioned above.
Id
Param
Type
Default
Description
\$id
string
null
Id field
Id prefix
Param
Type
Default
Description
\$prefix
string
null
Id prefix
Multipart
Param
Type
Default
Description
\$multipart
boolean
true
Multipart flag
Method
Param
Type
Default
Description
\$method
string
null
HTTP method
explicit HTTP verbs
Color
Param
Type
Default
Description
\$color
string
null
Color name
explicit color
Size
Param
Type
Default
Description
\$size
string
null
Size name
Explicit size
Type
Param
Type
Default
Description
\$type
string
null
Type field
Name
Param
Type
Default
Description
\$name
string
null
Input name
Label
Param
Type
Default
Description
\$label
string
null
Input label
Default Value
Param
Type
Default
Description
\$value
mixed
null
Input value
Render
Param
Type
Default
Description
\$render
string
null
Render name
Chaining properties
You can use chaining feature to use a lot of settings for each component
All versions of laravel-bootstrap-4-forms with dependencies
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 paulmenheere/laravel-bootstrap-4-forms contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.