Download the PHP package kris/laravel4-form-builder without Composer

On this page you can find all versions of the php package kris/laravel4-form-builder. 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 laravel4-form-builder

Build Status Coverage Status Total Downloads Latest Stable Version

Laravel 4 form builder

Form builder for Laravel 4 inspired by Symfony's form builder. With help of Laravels FormBuilder class creates forms that can be easy modified and reused. By default it supports Bootstrap 3.

Laravel 5

For laravel 5 version check laravel-form-builder

Documentation

For detailed documentation refer to http://kristijanhusak.github.io/laravel-form-builder/.

Note There are small differences between version 4 and 5 (Configuration path, etc.), so please be aware of those.

Changelog

Changelog can be found here

Installation

run composer update

Then add Service provider to config/app.php

And Facade (also in config/app.php)

Quick start

Creating form classes is easy. Lets assume PSR-4 is set for loading namespace App in app/Project folder. With a simple artisan command we can create form:

Form is created in path app/Project/Forms/SongForm.php with content:

If you want to instantiate empty form without any fields, just skip passing --fields parameter:

Gives:

After that instantiate the class in the controller and pass it to view:

Print the form in view with form() helper function:

Above code will generate this html:

Contributing

Project follows PSR-2 standard and it's covered with PHPUnit tests. Pull requests should include tests and pass Travis CI build.

To run tests first install dependencies with composer install.

After that tests can be run with vendor/bin/phpunit


All versions of laravel4-form-builder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/html Version 4.2.*
illuminate/database Version 4.2.*
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 kris/laravel4-form-builder contains the following files

Loading the files please wait ....