2017 © Pedro Peláez
 

library kirby-uniform

image

mzur/kirby-uniform

  • Tuesday, July 31, 2018
  • by mzur
  • Repository
  • 10 Watchers
  • 172 Stars
  • 618 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 26 Forks
  • 5 Open issues
  • 34 Versions
  • 8 % Grown

The README.md

Kirby Uniform

A versatile Kirby plugin to handle web form actions., (*1)

Documentation Status Tests Kirby >=3, (*2)

This is Uniform for Kirby >=3. You can find Uniform for Kirby 2 in the kirby-2 branch., (*3)

Builtin actions:, (*4)

  • Email: Send the form data by email.
  • EmailSelect: Choose from multiple recipients to send the form data by email.
  • Log: Log the form data to a file.
  • Login: Log in to the Kirby frontend.
  • SessionStore: Store the form in the user's session.
  • Upload: Handle file uploads.
  • Webhook: Send the form data as an HTTP request to a webhook.

Quick example

Controller:, (*5)

 [
         'rules' => ['required', 'email'],
         'message' => 'Email is required',
      ],
      'message' => [],
   ]);

   if ($kirby->request()->is('POST')) {
      $form->emailAction([
         'to' => 'me@example.com',
         'from' => 'info@example.com',
      ])->done();
   }

   return compact('form');
};
```

Template:

```html+php
old('message'); ?></textarea> <input type="submit" value="Submit"> </form> success()): ?> Success! $form]); ?>

Installation

Install Uniform via Composer: composer require mzur/kirby-uniform, (*6)

Or download the repository and extract it to site/plugins/uniform., (*7)

Setup

Add this to your CSS:, (*8)

.uniform__potty {
    position: absolute;
    left: -9999px;
}

Note: Disable the Kirby cache for pages where you use Uniform to make sure the form is generated dynamically., (*9)

Documentation

For the full documentation head over to Read the Docs., (*10)

Questions

See the answers in the docs, post an issue if you think it is a bug or create a topic in the forum if you need help., (*11)

Contributing

Contributions are always welcome!, (*12)

Donations

Since some people insist on sending me money for this (free) plugin you can do this here., (*13)

The Versions

31/07 2018

v2.x-dev

2.9999999.9999999.9999999-dev

  Sources   Download

09/07 2018

dev-master

9999999-dev

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

02/04 2018

v1.0.0

1.0.0.0

  Sources   Download

02/04 2018

v1.1.0

1.1.0.0

  Sources   Download

02/04 2018

v1.2.0

1.2.0.0

  Sources   Download

02/04 2018

v2.1.0

2.1.0.0

  Sources   Download

02/04 2018

v2.1.1

2.1.1.0

  Sources   Download

02/04 2018

v2.1.2

2.1.2.0

  Sources   Download

02/04 2018

v2.1.3

2.1.3.0

  Sources   Download

02/04 2018

v2.1.4

2.1.4.0

  Sources   Download

02/04 2018

v2.1.5

2.1.5.0

  Sources   Download

02/04 2018

v2.1.6

2.1.6.0

  Sources   Download

02/04 2018

v2.2.0

2.2.0.0

  Sources   Download

02/04 2018

v2.2.1

2.2.1.0

  Sources   Download

02/04 2018

v2.2.2

2.2.2.0

  Sources   Download

02/04 2018

v2.2.3

2.2.3.0

  Sources   Download

02/04 2018

v1.2.1

1.2.1.0

  Sources   Download

02/04 2018

v1.3.0

1.3.0.0

  Sources   Download

02/04 2018

v1.3.1

1.3.1.0

  Sources   Download

02/04 2018

v2.0.0

2.0.0.0

  Sources   Download

02/04 2018

v2.0.1

2.0.1.0

  Sources   Download

02/04 2018

v2.2.4

2.2.4.0

  Sources   Download

02/04 2018

v2.2.5

2.2.5.0

  Sources   Download

02/04 2018

v2.2.6

2.2.6.0

  Sources   Download

02/04 2018

v2.3.0

2.3.0.0

  Sources   Download

11/01 2018

v3.4.0

3.4.0.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

08/11 2017

v3.3.1

3.3.1.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

14/10 2017

v3.3.0

3.3.0.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

19/09 2017

v3.2.1

3.2.1.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

20/08 2017

v3.2.0

3.2.0.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

29/06 2017

v3.1.0

3.1.0.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

20/02 2017

v3.0.1

3.0.1.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

28/01 2017

v3.0.0

3.0.0.0

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Martin Zurowietz

form kirby

26/12 2016

3.0.0-beta

3.0.0.0-beta

A versatile Kirby 2 plugin to handle web form actions.

  Sources   Download

The Requires

  • php >=5.5.0
  • jevets/kirby-form dev-master

 

The Development Requires

by Martin Zurowietz

form kirby