znframework/package-hypertext

ZN Framework Hypertext Package

8.0.0 2023-03-13 13:44 UTC

This package is auto-updated.

Last update: 2024-11-13 17:23:55 UTC


README

ZN Framework Hypertext Package

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();