Download the PHP package hoangphi/hwa-tools without Composer

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

Total Downloads Latest Stable Version License

About

hwa-tools is a helper package. It helps us to build and develop faster with pre-built functions. This saves a lot of time on future projects.

We share this package to give programmers an extra useful library. We hope people use this package not for commercialization or profit of any kind.

And finally, hope to receive more contributions and shares from all of you.

Thank you very much 🧡

Install

  1. You can install the package via composer:

  2. Optional: The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:

  3. You can customize the config/hwa_tools.php config file . If you customize file config/hwa_tools.php. You need to run the command below to clear cache and update the changes.

Default config file contents

You can view the default config file contents at:

https://github.com/hoangphidev/hwa-tools/blob/master/config/hwa_tools.php

Usage

Helpers

Since this is a package with helper functions, after installing the package into the project, people can call the helper functions everywhere in the project.

Here are some helper functions we've built:

  1. Commons

  2. Datetime

  3. Images

  4. Ip info

  5. Response API

MetaTools

This tool helps you to easily manage the extended data fields of certain objects.

  1. Create Meta Class with command.

Example: We need CustomerMeta. This tools help us make model file and migration file.

The above command we have added -m to create the migration file.

  1. Add allow type to config/hwa_tools.php

  2. You need to run the command below to clear cache and update the changes.

  3. Run command to migrate the meta migration file to database

After completing the above configuration steps you can use the methods available in the meta model in the classes you want.

Beside the functions and methods we have built, people can also build their own by inheriting our classes.

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you discover a security vulnerability within hwa-tools, please send an e-mail to Phi Hoang via [email protected]. All security vulnerabilities will be promptly addressed.

Credits

License

The Laravel framework is open-sourced software licensed under the MIT license.


All versions of hwa-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
illuminate/support Version ^5.8|^6|^7|^8
ext-curl Version *
ext-json 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 hoangphi/hwa-tools contains the following files

Loading the files please wait ....