Download the PHP package litepie/form without Composer
On this page you can find all versions of the php package litepie/form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package form
Short Description A comprehensive Laravel form builder package with advanced features, caching, and modern design patterns
License MIT
Homepage https://github.com/litepie/form
Informations about the package form
Litepie Form Builder
A comprehensive, production-ready Laravel form builder package inspired by the original Litepie/Form but completely rewritten for Laravel 12 with modern design patterns and advanced features.
๐ Table of Contents
- Features
- Installation
- Quick Start
- Field Types
- Advanced Features
- Form Container
- Client-Side Integration
- Validation
- File Uploads
- Performance & Caching
- Testing
- API Reference
- Documentation
- Contributing
- Security
- Support
โจ Features
- ๐ Laravel 12 Ready: Built for Laravel 11+ with full Laravel 12 compatibility
- *๐จ Multiple UI Frameworks## ๐ Security
If you discover security vulnerabilities, please review our Security Policy and send an email to [email protected] instead of using the issue tracker.Bootstr## ๐ Documentation
- Documentation Index - Complete documentation overview and navigation
- Examples - Comprehensive examples for all field types and features
- Container Examples - Multi-form container usage and patterns
- Client-Side Examples - JavaScript integration and API usage
- Caching Guide - Performance optimization with cachingBootstrap 4, Tailwind CSS, and custom themes
- ๐ 30+ Field Types: Complete field library including advanced types like rich text, maps, file uploads
- โ Advanced Validation: Real-time validation, conditional rules, custom validators
- ๐ Conditional Logic: Dynamic field visibility, validation, and multi-step forms
- ๐ File Management: Drag & drop uploads, image cropping, gallery management, cloud storage
- ๐ฆ Form Container: Manage multiple forms with tabbed, accordion, or stacked interfaces
- โฟ Accessibility: WCAG 2.1 AA compliant with full screen reader support
- โก Performance: Optimized rendering, asset bundling, lazy loading
- ๐งช Well Tested: Comprehensive test suite with 95%+ code coverage
- ๐ฏ Developer Friendly: Fluent API, extensive documentation, helper functions
๐ฆ Installation
Publish the configuration and assets:
Include the CSS and JavaScript assets in your layout:
๐ Quick Start
Basic Contact Form
Registration Form with File Upload
Helper Functions
๐ Complete Field Types Reference
๐ฅ Input Fields
Field Type | Description | Key Features |
---|---|---|
text |
Standard text input | Placeholder, validation, autocomplete |
email |
Email input with validation | Built-in email validation, suggestions |
password |
Password input | Strength meter, confirmation matching |
number |
Numeric input | Min/max values, step increments |
tel |
Telephone input | International format support |
url |
URL input with validation | Protocol validation, link preview |
search |
Search input | Autocomplete, search suggestions |
hidden |
Hidden form field | Secure value storage |
๐ Date & Time Fields
Field Type | Description | Key Features |
---|---|---|
date |
Date picker | Min/max dates, custom formats |
time |
Time picker | 12/24 hour format, minute steps |
datetime |
Date and time picker | Timezone support, combined input |
week |
Week picker | ISO week format |
month |
Month picker | Year/month selection |
daterange |
Date range picker | Start/end dates, presets |
๐ฏ Selection Fields
Field Type | Description | Key Features |
---|---|---|
select |
Dropdown select | Search, grouping, multi-select |
radio |
Radio button group | Inline/stacked layout |
checkbox |
Checkbox group | Single or multiple options |
tags |
Tag input | Autocomplete, custom tags, suggestions |
๐ Text Areas & Rich Content
Field Type | Description | Key Features |
---|---|---|
textarea |
Multi-line text input | Auto-resize, character count |
richtext |
WYSIWYG editor | TinyMCE integration, custom toolbar |
๐ File & Media Fields
Field Type | Description | Key Features |
---|---|---|
file |
File upload | Drag & drop, progress, validation |
image |
Image upload | Cropping, preview, multiple formats |
gallery |
Multiple image upload | Sortable, bulk upload, thumbnails |
๐จ Visual & Interactive Fields
Field Type | Description | Key Features |
---|---|---|
color |
Color picker | Palette, alpha support, formats |
range |
Range slider | Min/max, step, value display |
rating |
Star rating | Half stars, custom icons, readonly |
map |
Location picker | Google Maps, geocoding, markers |
๐ Form Controls
Field Type | Description | Key Features |
---|---|---|
submit |
Submit button | Custom styling, loading states |
button |
Generic button | Click handlers, custom actions |
reset |
Reset button | Form clearing, confirmation |
๐๏ธ Layout & Organization
Field Type | Description | Key Features |
---|---|---|
html |
Custom HTML content | Raw HTML, dynamic content |
divider |
Visual separator | Different styles, text labels |
group |
Field grouping | Nested fields, layouts |
โ๏ธ Configuration
Framework Selection
Global Configuration
Edit config/form.php
:
โ Advanced Validation
Laravel Validation Rules
Real-time Validation
Custom Validators
๐ Conditional Logic & Multi-Step Forms
Dynamic Field Visibility
Multi-Step Forms
๐ File Upload Features
Basic File Upload
Image Upload with Cropping
Gallery Upload
๐ฆ Form Container - Managing Multiple Forms
The Form Container allows you to manage multiple forms within a single interface, with support for tabbed, accordion, or stacked layouts.
Basic Container Usage
Quick Container Creation
Container Display Modes
Container Validation Modes
Extended Container Classes
๐ See doc/container-examples.md for comprehensive container usage examples.
๐ Laravel Integration
Controller Example
Blade Template Integration
๐ Client-Side Framework Integration
Convert Forms to Arrays/JSON for Vue.js, React, Angular
API Endpoint for Client-Side
Vue.js Example
๐ See doc/client-side-examples.md for complete Vue.js, React, and Angular integration examples.
๐จ Theming & Customization
Custom Field Templates
Create custom field templates in resources/views/forms/
:
Custom CSS Classes
๐ง Advanced Features
AJAX Form Submission
Form Validation Events
Dynamic Field Addition
๐งช Testing
The package includes comprehensive test coverage:
Writing Tests for Your Forms
๐ API Reference
FormBuilder Methods
Field Options
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
Code Style
๐ License
The MIT License (MIT). Please see LICENSE for more information.
โก Performance & Caching
Caching Support
Form containers support comprehensive caching to improve performance:
Cache Configuration
Add to your config/form.php
:
Cache Benefits
- 50-90% faster rendering for complex forms
- Reduced server load with cached HTML output
- Automatic invalidation when forms are modified
- Tagged cache for efficient bulk clearing
- Multiple drivers (file, redis, memcached)
For detailed caching documentation, see doc/caching.md.
๏ฟฝ Documentation
- Examples - Comprehensive examples for all field types and features
- Container Examples - Multi-form container usage and patterns
- Client-Side Examples - JavaScript integration and API usage
- Caching Guide - Performance optimization with caching
๏ฟฝ๐ Security
If you discover security vulnerabilities, please send an email to [email protected] instead of using the issue tracker.
๐ Support
- ๐ Documentation
- ๐ Issue Tracker
- ๐ฌ Discussions
- ๐ง Email Support
๐ข About
This package is part of the Litepie ecosystem, developed by Renfos Technologies.
Organization Structure
- Vendor: Litepie
- Framework: Lavalite
- Company: Renfos Technologies
Links & Resources
- ๐ Website: https://lavalite.org
- ๐ Documentation: https://docs.lavalite.org
- ๐ผ Company: https://renfos.com
- ๐ง Support: [email protected]
Built with โค๏ธ by Renfos Technologies
Empowering developers with robust Laravel solutions
All versions of form with dependencies
laravel/framework Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/validation Version ^11.0|^12.0
illuminate/view Version ^11.0|^12.0
illuminate/cache Version ^11.0|^12.0