Download the PHP package lyrasoft/formkit without Composer
On this page you can find all versions of the php package lyrasoft/formkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package formkit
LYRASOFT Formkit Package
Installation
Install from composer
Then copy files to project
Seeders
- Add
formkit-seeder.php
toresources/seeders/main.php
Language Files
Add this line to admin & front middleware if you don't want to override languages:
Or run this command to copy languages files:
Register Admin Menu
Edit resources/menu/admin/sidemenu.menu.php
Use As Standalone Page
Copy URL or open page from edit sidebar:
You will see standalone page:
The page extends layout is configuable, see config file:
Add a new layout option, then it can be choose:
You can disable page view by toggle 可使用公開網址
, if disable this field, the URL will unable to access form.
Use By ShortCode
You must manually process short code in code, for example:
Now you can copy the short-code to article content:
Short-code usage:
Formkit Publish Down
When as formkit is render by short-code and was publish down, there are another formkit/formkit-unpublish.blade.php
layout to show end information, it is default empty, you can modify it if you need.
Configure Mail
In etc/packages/formkit.php
, you can add custom cc, bcc or target roles to receive mails.
The users fetch by roles, must enable Receive Email
that can receive mail.
To modify mail layout, see mail/formkit-receiver-mail.blade.php
and formkit/formkit-preview-table.blade.php
Form Fields And Components
Add Custom Widget to Field Cards
There has 3 porisions you can insert widgets to field card:
- start
- end
- toolbar
The code example:
Override Field Edit Components
Fields components is localted at assets/src/fields/*.ts
, copy the file you want to override to root project's resources/assets/src
.
And use $asset->alias()
to override this file.
All versions of formkit with dependencies
lyrasoft/luna Version ^2.1
phpoffice/phpspreadsheet Version ^2.2
thunderer/shortcode Version ^0.7.5
gregwar/captcha Version ^1.2