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.

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 formkit

LYRASOFT Formkit Package

Installation

Install from composer

Then copy files to project

Seeders

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:

p-001-2024-08-22-02-24-19

You will see standalone page:

p-001-2024-08-22-02-25-15

The page extends layout is configuable, see config file:

Add a new layout option, then it can be choose:

p-001-2024-08-22-02-34-42

You can disable page view by toggle 可使用公開網址, if disable this field, the URL will unable to access form.

p-001-2024-08-22-02-26-13

Use By ShortCode

You must manually process short code in code, for example:

Now you can copy the short-code to article content:

p-001-2024-08-22-02-29-41

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:

p-001-2024-08-22-02-48-28

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

PHP Build Version
Package Version
Requires php Version >=8.2
lyrasoft/luna Version ^2.1
phpoffice/phpspreadsheet Version ^2.2
thunderer/shortcode Version ^0.7.5
gregwar/captcha Version ^1.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 lyrasoft/formkit contains the following files

Loading the files please wait ....