- What is cimple-admin/forms used for in Laravel?
- It is a form builder package for Laravel admin panels. It lets you define fields, validation rules, and layouts in code, then render consistent create and edit screens. It is part of the Cimple Admin ecosystem and focuses on common input types, relationships, and customization.
- How do I install cimple-admin/forms with Composer?
- Install the package by requiring cimple-admin/forms through Composer in your Laravel project. After installation, follow the repository README for any service provider, configuration, migration, or admin-panel registration steps. Exact setup details can change, so use the README as the source of truth.
- Do I need Cimple Admin to use cimple-admin/forms?
- The package is described as Forms for Cimple Admin and is aimed at Laravel admin panels. The context does not state that it works standalone outside Cimple Admin. Check the README and package dependencies before using it in a different admin setup.
- How do I define fields and validation rules with cimple-admin/forms?
- You define fields, validation rules, and layouts in code rather than through a database-driven UI. The package then renders consistent create and edit screens from those definitions. See the repository for the exact field classes, rule syntax, and layout API.
- Does cimple-admin/forms support relationships in forms?
- Yes, the package blurb mentions relationships as part of its form-building features. You can use it to render relationship-backed inputs in create and edit screens. The README should document the supported relationship types and configuration.
- Can I customize forms built with cimple-admin/forms?
- The package is described as easy to customize, with fields, validation, and layouts defined in code. You can adapt form definitions to match your admin screens and common input needs. For extension points and view overrides, refer to the repository documentation.
- Which Laravel versions does cimple-admin/forms support?
- The provided context does not list specific Laravel version constraints. Check the package composer.json and README for the supported PHP and Laravel versions. Match those constraints to your application before installing.
- How do I test forms built with cimple-admin/forms?
- The context does not include testing instructions. In a Laravel application, you would typically test the underlying routes, validation, and persistence behavior with your normal testing setup. Check the repository for any package-specific test helpers or examples.
- Is cimple-admin/forms suitable for production use?
- The package is presented as a form builder for Laravel admin panels, but the provided context does not include a production-readiness assessment. Review the repository's release history, issue activity, tests, and documentation before using it in production. Also verify compatibility with your Laravel and admin-panel versions.
- What are alternatives to cimple-admin/forms?
- The provided context does not name alternatives. When evaluating, compare it with other Laravel admin form builders and your existing admin stack, such as Filament, Laravel Nova, or custom Blade forms. Choose based on field types, relationships, customization, and maintenance needs.