znframework/package-hypertext


README

Follow the steps below for installation and use.

Installation

You only need to run the following code for the installation.

composer require znframework/package-hypertext

Documentation

Click for documentation of your library.

Example Usage

Basic level usage is shown below.

<?php require 'vendor/autoload.php';

ZN\ZN::run();

echo Form::where('id', 1)->process('update')->open('users');
echo Form::postback()->validate('required', 'xss')->text('name');
echo Form::postback()->validate('email', 'required')->text('email');
echo Form::select('gender', [1 => 'Male', 2 => 'Female']);
echo Form::validate('required')->textarea('about');
echo Form::submit('submit', 'Submit');
echo Form::close();
echo Form::validateErrorMessage();