Download the PHP package rootdata21/hati without Composer

On this page you can find all versions of the php package rootdata21/hati. 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 hati

Hati - A Speedy PHP Library

                                                  .'``'.__
                                                 /      \ `'"-,
                                .-''''--...__..-/ .     |      \
                              .'               ; :'     '.  a   |
                             /                 | :.       \     =\
                            ;                   \':.      /  ,-.__;.-;`

PHP Version Require Latest Stable Version Total Downloads License

Welcome to the Hati wiki! Hati is a powerful PHP library written in PHP 8 which has various library functions and classes to make API or application development in PHP effortless. This library has great support for crafting:-

Hati utilizes composer autoload. You can use apache's dot htaccess file to prepend the Hati init file which will require 'vendor/autoload.php' behind the scene to resolve the loader dependencies. Many aspect of Hati can be configured by using the configuration files found on project root hati/hati.json & hati/db.json.

Hati comes with a few tools which are found on the project root's hati/tool folder. These tools are used to help working with multiple database, API documentation etc.

Library functions, class names are inspired by Bengali language. Many common words from Bengali language such Kuli, Biscut, Shomoy are found within this library.

Install

Install the latest version using:

Or add to your composer.json file as a requirement:

Setup

  1. Hati can only be used in PHP 8 or above. In order to set up the Hati, you can use the htaccess file provided with the library to prepend the "hati/init.php" file or manually require it using require function.
  2. Adjust the "hati/hati.json" file to configure the environment.

Demo

Below an API is written using Fluent class to perform database query where sql is prepared and behind the scene and the result is fetched using datum method. With traditional approach such task would take up to 10 lines. Hati really shrinks down the line of code you have to write over and over again. Finally, it return the output as JSON to requester.

Output

Hitting the API at: https://example.com/api/welcome/get

Donation/Support

If you find this project helpful then why don't you buy the developer a cup of tea? Any amount of donation is appreciated. Please follow the link to donate by using PayPal. PayPal Payment

License

This project is maintained under MIT license.


All versions of hati with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
phpmailer/phpmailer Version ^6.5
rootdata21/hati-installer Version v4.0.0
ext-pdo Version *
ext-zip Version *
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 rootdata21/hati contains the following files

Loading the files please wait ....