Download the PHP package jensramakers/laravel-input-components without Composer
On this page you can find all versions of the php package jensramakers/laravel-input-components. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jensramakers/laravel-input-components
More information about jensramakers/laravel-input-components
Files in jensramakers/laravel-input-components
Package laravel-input-components
Short Description laravel input components
License
Informations about the package laravel-input-components
Installation
package
install package via composer
publish country translations
PLACE ALL IMPORTS EN REQUIRES IN APP.JS AND OTHER CODE IN A DIFFERENT FILE
to change colors if the input fields use the input_color variable in tailwind.config.js
Darkmode support
Add this code in your javascript after loading components like select2 for example
install jQuery
WEBPACK
VITE
flowbite | help popover
to use the help info popover install flowbite
https://flowbite.com/docs/getting-started/quickstart/
select2 | dropdowns
to use the selects and tag input optimally install select2
import in javascript
and import in css
And add this javascript to make tag and select2 possible
Spatie-tags | tag input
the tag input only accepts tags from this package:
https://spatie.be/docs/laravel-tags/v4/installation-and-setup
Country selector
for country input install:
import javascript
and import css
Phone input
for phone input install npm package:
and use this piece of javascript code PLACE THIS IN A STANDALONE SCRIPT FILE!
import the css
IMPORTANT id "phone" is reserved
IMPORTANT multiple phone inputs on 1 page will not work currently
CKEditor
Put these 2 files below directly in public folder, they are already minified
for ckeditor add this JS file
https://drive.google.com/file/d/1ICjjAnDuqqJl7PwrdVAMcFuzH5TrhqJy/view?usp=share_link
for ckeditor add this CSS file
https://drive.google.com/file/d/14zMeVnjHwLLGBPigJuOXtT1XN8RDMZNt/view?usp=share_link
and this piece of code
Usage
Here some examples of usages for these inputs