Download the PHP
package mediactive-digital/laravel-bootstrap-4-forms without Composer
On this page you can find all versions of the php package
mediactive-digital/laravel-bootstrap-4-forms. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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
$name
string
null
Fieldset Error
$wrap
bool
false
Fieldset Wrap
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
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 inputs
Param
Type
Default
Description
$name
string
null
Input name
$label
string
null
Input label
Plain text 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
Password inputs
Param
Type
Default
Description
$name
string
null
Input name
$label
string
null
Input label
$default
string
null
Default value
Email inputs
Param
Type
Default
Description
$name
string
null
Input name
$label
string
null
Input label
$default
string
null
Default value
Number inputs
Param
Type
Default
Description
$name
string
null
Input name
$label
string
null
Input label
$default
string
null
Default value
Tel 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 inline
Placeholder
Param
Type
Default
Description
$placeholder
string
null
Placeholder text
Autocomplete
Param
Type
Default
Description
$autocomplete
boolean
true
Autocomplete status
SrOnly
Set the label sr-only status
Param
Type
Default
Description
$srOnly
boolean
true
SrOnly status
Prepend
Prepend content to input
Param
Type
Default
Description
$prepend
string
null
Input prepend
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
Help Text
Param
Type
Default
Description
$text
string
null
Help text
Custom attributes
Param
Type
Default
Description
$attrs
array
[]
Custom input attributes
Readonly
Param
Type
Default
Description
$status
boolean
true
Read only status
Disabled
Param
Type
Default
Description
$status
boolean
true
Disabled status
Required
Param
Type
Default
Description
$status
boolean
true
Required status
Block
Param
Type
Default
Description
$status
boolean
true
Disabled status
Simple
Param
Type
Default
Description
$simple
boolean
true
Simple status
Id
Param
Type
Default
Description
$id
string
null
Field id
Class
Param
Type
Default
Description
$class
string
null
Field class
Wrapper class
Param
Type
Default
Description
$class
string
null
Wrapper class
Label class
Param
Type
Default
Description
$class
string
null
Label class
Id prefix
Param
Type
Default
Description
$prefix
string
null
Id prefix
General class
Param
Type
Default
Description
$class
string
null
General class
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 mediactive-digital/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.