Download the PHP package bijoy4067/vueform-laravel without Composer
On this page you can find all versions of the php package bijoy4067/vueform-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package vueform-laravel
VueForm Laravel Form Builder - Build Laravel Forms with Vue 3 Without JavaScript
VueForm Laravel is a powerful, production-ready PHP form builder that integrates VueForm's reactive UI components with Laravel's backend validation. Create beautiful, responsive forms entirely in PHP without writing JavaScript code. Perfect for Laravel developers who want modern form interfaces with Material Design themes.
Key Benefits:
- ✅ Zero JavaScript Required - Build forms in pure PHP
- ✅ Laravel Integration - Native validation, routing, and security
- ✅ Material Design UI - Professional, responsive forms
- ✅ Theme Support - Multiple themes including dark mode
- ✅ Production Ready - Optimized assets and performance
- ✅ Developer Friendly - Easy to learn, extensive documentation
📖 Full Documentation | 🎨 Themes
📋 Table of Contents
- Why VueForm Laravel?
- Key Features
- Requirements
- Installation
- Quick Start Guide
- Themes
- Configuration
- Creating Form Components
- Rendering Forms
- Form Submission Handling
- Advanced Usage
- Performance Optimization
- Troubleshooting
- Contributing
- License
🚀 Why VueForm Laravel?
VueForm Laravel bridges the gap between Laravel's powerful backend and modern frontend form experiences. As a PHP developer, you can now create interactive, validated forms without learning Vue.js or managing complex frontend build processes.
Perfect for:
- Laravel developers building admin panels
- PHP developers creating user registration forms
- Teams needing consistent form styling across applications
- Projects requiring rapid form development
- Applications with complex validation requirements
What makes it special:
- Server-Side First: Define forms in PHP with Laravel validation
- Client-Side Enhancement: Automatic Vue 3 reactivity and Material Design
- Zero Configuration: Works out-of-the-box with Laravel
- SEO Friendly: Server-rendered forms with JavaScript enhancement
- Accessible: WCAG compliant form components
✨ Key Features
For PHP Developers
- Reusable Form - Anywhere in your
.blade.phpfile you can use this form - Laravel Validation Integration - Use familiar validation rules directly in form definitions
- Dynamic Routing - Automatic endpoint generation based on Laravel routes
Form Element Types
- Text Inputs - Text, email, password, textarea, URL, number
- Selection Controls - Radio, checkbox, select, multiselect, toggle
- Date & Time - Date picker, time picker, datetime picker
- File Uploads - Single/multiple file upload with preview
- Rich Content - WYSIWYG editor, markdown editor
- Dynamic Lists - Repeatable field groups with add/remove
- Layout Elements - Groups, columns, tabs, steps
🔧 Requirements
- PHP: 8.0 or higher
- Laravel: 9.x, 10.x, or 11.x
- Composer: 2.x or higher
- Browser Support: Modern browsers (Chrome, Firefox, Safari, Edge)
Note: This package works with Laravel's default frontend setup. No Vue CLI, Vite, or npm installation required on your end—all frontend assets are pre-bundled.
📦 Installation
Step 1: Install via Composer
Step 2: Publish Configuration and Assets
This command publishes:
- Configuration file to
config/vueform-laravel.php - Pre-compiled CSS and JavaScript assets to your
publicdirectory - Stubs for form component generation
Step 3: Add Assets to Your Layout
Add the following to your main Blade layout's <head> section (typically resources/views/layouts/app.blade.php):
What this does: Loads pre-compiled Vue 3 components, VueForm library, and Material Theme styles. No build process needed.
🚀 Quick Start Guide
Create Your First Form (2 minutes)
1. Generate a Form Component
This creates app/VueForm/ContactForm.php with boilerplate code.
2. Define Form Schema
Open app/VueForm/ContactForm.php and add your form fields:
3. Add to Controller
4. Render in Blade Template
That's it! Navigate to your route and see a fully functional, validated contact form with Material Design styling.
🎨 Themes
VueForm Laravel supports multiple themes for different visual styles and user preferences. Themes are configured in config/vueform-laravel.php and automatically generate separate CSS/JS bundles for optimal performance.
Available Themes
- Default Theme - Clean Material Design with light background
- Dark Theme - Dark mode optimized for low-light environments
- Custom Themes - Create your own themes by extending configuration
Theme Configuration
Using Themes
Set the current theme in your controller or middleware:
The form will automatically load the appropriate theme assets and styling.
⚙️ Configuration
Basic Configuration
The main configuration file is located at config/vueform-laravel.php. Here you can customize:
- Themes: Define multiple themes with CSS variables
- Validation Messages: Customize error messages
- File Upload Settings: Configure upload paths and validation
- API Endpoints: Set custom endpoints for dynamic options
Theme Customization
Environment Variables
// Spacing
'--vf-gutter' => '1rem',
'--vf-min-height-input' => '2.375rem',
// State colors
'--vf-color-success' => '#10b981',
'--vf-color-danger' => '#ef4444',
]
];
bash
Basic form
php artisan vueform:make UserRegistrationForm
Form in a subdirectory
php artisan vueform:make Admin/UserEditForm
With custom namespace
php artisan vueform:make Forms/Checkout/PaymentForm bash php artisan cache:clear php artisan config:clear
---
## 🤝 Contributing
Contributions are welcome! Here's how to get started:
1. **Fork the repository** on GitHub
2. **Clone your fork**: `git clone https://github.com/bijoy4067/vueform-laravel.git`
3. **Create a feature branch**: `git checkout -b feature/amazing-feature`
4. **Make your changes** with clear commit messages
5. **Add tests** for new functionality
6. **Submit a pull request** with a description of your changes
### Coding Standards
- Follow PSR-12 coding standards
- Write PHPDoc comments for public methods
- Include unit tests for new features
- Update documentation for new features
---
## 📜 License
This package is open-sourced software licensed under the [MIT license](LICENSE).
---
## 🔗 Resources
- **Official Documentation**: [Coming Soon]
- **Laravel Documentation**: [https://laravel.com/docs](https://laravel.com/docs)
- **Vue 3 Guide**: [https://vuejs.org](https://vuejs.org)
- **VueForm**: [https://vueform.com](https://vueform.com)
- **Material Design**: [https://material.io](https://material.io)
---
## 📞 Support
- **Issues**: [GitHub Issues](https://github.com/bijoy4067/vueform-laravel/issues)
- **Discussions**: [GitHub Discussions](https://github.com/bijoy4067/vueform-laravel/discussions)
- **Email**: [email protected]
---
**Built with ❤️ for the Laravel community**
