Download the PHP package log1x/sage-html-forms without Composer

On this page you can find all versions of the php package log1x/sage-html-forms. 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 sage-html-forms

Sage HTML Forms

Latest Stable Version Total Downloads Build Status

This is a simple package for the HTML Forms plugin that allows you to easily render forms using a corresponding Blade view (if one is present) with Sage 10.

A few additional opinionated tweaks include:

Requirements

Installation

Install via Composer:

Usage

Getting Started

Start by creating a form in the HTML Forms admin menu page if you do not already have one.

You can leave the "Form code" blank as it will not be used if a corresponding Blade view exists.

Creating a View

Once your form is created, simply generate a view using the slug assigned to your form:

You will find the generated form view in resources/views/forms/contact-us.blade.php containing a simple form component:

When HTML Forms processes "Form Actions" – it simply fetches each input name to create the usable variables.

That being said, the default view would provide [NAME] and [EMAILADDRESS].

Error Messages

Outside of defining your error messages on the options page, you can optionally provide them to the <x-html-forms /> component directly:

Prevent moving Dashboard menu item

By default the HTML Forms menu items is moved to the Options submenu. Prevent that by using the hf_hide_admin_menu hook:

Bug Reports

If you discover a bug in Sage HTML Forms, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

Sage HTML Forms is provided under the MIT License.


All versions of sage-html-forms with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
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 log1x/sage-html-forms contains the following files

Loading the files please wait ....