Download the PHP package nickwest/eloquent-forms without Composer

On this page you can find all versions of the php package nickwest/eloquent-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package eloquent-forms

Build Status Latest Stable Version License StyleCI Maintainability codecov

EloquentForms v11.0.x

EloquentForms was created by and is maintained by Nicky West. It was created to minimize the time and effort required to create simple HTML forms generated from Eloquent Models to support CRUD functionality.

EloquentForms includes a trait for Eloquent models that can be used to automatically generate a form view based on the underlying table structure supporting the Eloquent model. Forms created this way can be fully customized. Basic validation is included and can be expanded upon easily.

EloquentForms can be easily themed to support various front-end css/js frameworks and includes the necessary blade templates to support the Bulma framework out of the box.

Installation

EloquentForms requires PHP 8.2^. This particular version supports Laravel 11.x To install on earlier versions of laravel Laravel use the X.Y.z release of EloquentForms where X.Y or X.0 (Laravel's versioning scheme changed) matches the versions of Laravel you're using.

To get the latest version you need only require the package via Composer.

EloquentForms supports Laravel Auto-Discovery. It shouldn't be necessary with Laravel 5.5^, but to manually add the package the following providers should be added in your config/app.php:

Usage

Adding functionality to an Eloquent Model

The Controller

Submit buttons

Submit buttons can have duplicate names and the array of submit buttons is keyed by $name.$value. By default 1 submit button will be added to the Form. It's name is submit_button, with a value of Submit. It can be accessed as seen below. Forms added with these methods will be displayed at the end of the form. Button type fields can be added anywhere inside the form as a normal field as well.

Misc

EloquentForms doesn't need to be used by the trait. The Form and Field classes can be used standalone as well. Instead of automatically generating form fields, they will need to be manually declared.


All versions of eloquent-forms with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0
nesbot/carbon Version ^2.0
doctrine/dbal Version ^3.0
maatwebsite/excel Version ^3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nickwest/eloquent-forms contains the following files

Loading the files please wait ....