lagan/property-upload

Controller for the Lagan upload property. Lets the user upload a file.

Maintainers

👁 lutsen

Package info

github.com/lutsen/property-upload

pkg:composer/lagan/property-upload

Statistics

Installs: 765

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2017-01-05 11:09 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT db7c1770867703d86addff50ceb45e08ab675e9c

fileuploadcontrollerpropertylagan

This package is auto-updated.

Last update: 2026-06-29 01:26:50 UTC


README

👁 Lagan

Lagan Upload Property Controller

Controller for the Lagan upload property, built with the Sirius upload handler library. Lets the user upload a file.

You can validate the uploaded files by specifying the upload rules in the 'validate' value in the property array. Each rule and the optional values must be in a seperate nested value, where the rule is the first value, and the optional values are the second value. Example: 'validate' => [ ['extension', 'allowed=jpeg,jpg,gif,png'], ['size', 'size=1M'] ]

To be used with Lagan. Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.

Lagan is a project of Lútsen Stellingwerff.