Download the PHP package spindogs/laravel-spin-forms without Composer

On this page you can find all versions of the php package spindogs/laravel-spin-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 laravel-spin-forms

LaravelSpinForms

Latest Version on Packagist Total Downloads Build Status

Installation

Via Composer

Upon install/update, it is recommended to clear the view cache. If there are new components in here, then they will need to either be manually copied over from the spin-forms.php config file, or republish the service provider with the --force flag. NB: using the --force command will overwrite your config file, so if you have any custom controllers or views, plase change them again

Some components require additional javascript to be used in conjunction with the FE Baseline, these are generated by the components, but you will need to add code to your layout page to display it.

Components

Modification

You can modify/override any of the templates, by changing the view and class keys in the config file. To do this, you need to publish the vendor file.

Examples

Form

Options

DELETE, PATCH, PUT; will trigger the Laravel @method command to then spoof the verb.

The files variable, will add the enctype/multipart to the form tag. This needs to be sent as a boolean value, so needs to be in the component as :files="true"

Error List

Displays all form errors in list.

Button

Options

This takes a slot as the entry for the button content.

Form Wrap

Options

This is utilised by all elements as a div wrapper around all of the form element controls. This will display the content inside of it. Field Identifier is generally automatically generated.

Form Fieldset

This element is used to house checkboxes / radio buttons. Fieldset should be used over Group for accessibility. But we are not removing Group for backwards compatability. These elements are identical except for: HTML output, Title is required.

Options

Form Group (Deprecated)

This element is deprecated, but will still be available for backwards compataibility. This is almost identical to Form Fieldset.

Options

Input

Options

Also takes all attributes and merges across, like min, max, step etc.

Textarea

Options

Also takes all attributes and merges across.

Checkbox

Options

It is higly recommended to utilise the Form Group element when using Checkboxes.

Radio

Options

It is higly recommended to utilise the Form Group element when using Radio Buttons.

Select

Options

Currently does not work with optgroup.

Example of $options and $selected

Date Picker

Options

Date and Time Picker

Options

Time Picker

Options

Help

You can also add help text, beofre and/or after the input elemtn with the use of the slots pre_help and post_help

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

Supported Versions

Versions will be supported for a limited amount of time.

Version Laravel Version
1 7/8
2 7/8/9
3 10
4 11

All versions of laravel-spin-forms with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~11
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 spindogs/laravel-spin-forms contains the following files

Loading the files please wait ....