Download the PHP package simple-crud/extra-fields without Composer
On this page you can find all versions of the php package simple-crud/extra-fields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download simple-crud/extra-fields
More information about simple-crud/extra-fields
Files in simple-crud/extra-fields
Download simple-crud/extra-fields
More information about simple-crud/extra-fields
Files in simple-crud/extra-fields
Vendor simple-crud
Package extra-fields
Short Description Extra fields for simple-crud package
License MIT
Homepage https://github.com/oscarotero/simple-crud-extra-fields
Package extra-fields
Short Description Extra fields for simple-crud package
License MIT
Homepage https://github.com/oscarotero/simple-crud-extra-fields
Please rate this library. Is it a good library?
Informations about the package extra-fields
SimpleCrud Fields
Package with extra fields for simple-crud
Installation
This package is installable and autoloadable via Composer as simple-crud/extra-fields.
File
Used to upload files into a directory and save the file name in the database. Detects instances of Psr\Http\Message\UploadedFileInterface
see here PSR-7 standard.
- First, you must define the uploads path used by the database, using the attribute
SimpleCrud::ATTR_UPLOADS
- On register the field, the
File
format will be asigned to any field named "file" or ending by "File" (for example: imageFile, avatarFile, etc) - By default, the file is saved in a subdirectory named as
[table]/[field]
. For example, the images of the fieldavatar
of the tableuser
will be saved in the folderuploads/user/avatar
. - The filename is slugified and converted to lowercase. For example, the file
My Picture.JPG
is renamed tomy-picture.jpg
.
Slug
Used to save slugified values using cocur/slugify. On register the field, the Slug
format will be asigned to any field named "slug"
All versions of extra-fields with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
simple-crud/simple-crud Version ^7.2
psr/http-message Version ^1.0
cocur/slugify Version ^3.0
simple-crud/simple-crud Version ^7.2
psr/http-message Version ^1.0
cocur/slugify Version ^3.0
The package simple-crud/extra-fields contains the following files
Loading the files please wait ....