Former

screenshot of Former

A powerful form builder, for Laravel and other frameworks (stand-alone too)

Overview

Former is a robust package designed specifically for Laravel developers to streamline the creation and formatting of forms. With its ability to seamlessly integrate with popular CSS frameworks like Bootstrap and Foundation, it ensures that your forms not only function well but also look great. One of the standout features of Former is its error handling mechanism, which allows for easy repopulation of form data after validation errors. This simplifies the user experience by automatically rendering error messages alongside the relevant fields.

This package is built with a fluent interface that makes form creation intuitive and straightforward. By leveraging magic methods, Former allows developers to easily set attributes, reducing the complexity often associated with form handling in web applications. The capability to handle attributes dynamically gives the flexibility needed in modern web development.

Features

  • Seamless Integration: Works effortlessly with Bootstrap and Foundation CSS frameworks, ensuring your forms are stylish and responsive.
  • Automatic Error Handling: Automatically repopulates form fields after validation errors, displaying error messages right next to the affected fields.
  • Fluent Interface: Provides a clean and readable syntax for form creation, allowing for rapid development without sacrificing code quality.
  • Dynamic Attribute Setting: Easily set custom attributes using magic methods, making it easier to handle a variety of use cases without extra boilerplate code.
  • Fallback Methods: Supports traditional methods for setting attributes, giving you the flexibility to manage any naming conventions you need.
  • Comprehensive Documentation: Includes extensive documentation and a wiki that provides additional insights and guides to maximize the use of the package.