/core-library

Core library

Primary LanguagePHPMIT LicenseMIT

core-library

Github actions workflow status Coveralls Packagist version Packagist license

core-library contains some classes we re-use regularly into other packages or projects.

Provides:

  • Cipher (ROT13, ROT45, etc.)
  • Database connector (Access, SQL Server, MySQL, etc.)
  • Helper (array, boolean, double, float, integer, string, etc.)
  • Logger (null logger, terminal logger, etc.)
  • Math (Fibonacci, Luhn algorithm, Pascal's triangle, etc.)
  • Model (billing, system, vehicle, etc.)
  • Monitor (hard disk, memory, network, operating system, processor, etc.)
  • Security classes (authenticator, password authentication, token generator, etc.)
  • Serializer (CSV, JSON, XML, etc.)
  • Sorter (alphabetical tree sort, quick sort, etc.)
  • Traits collection (array, boolean, double, float, integer, string, etc.)
  • Utility (archive, system, etc.)
  • Validation API (rule, rule set, validator, etc.)
  • Ciqual table
  • cURL wrapper
  • FTP clients (FTP, FTPS, SFTP, etc.)
  • Quadratus models
  • QueryBuilder wrapper
  • SkiData (card, customer, user, etc.)
  • Widget (asset, component, renderer, etc.)

If you like this package, pay me a beer (or a coffee) paypal.me

Compatibility

PHP

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

composer require webeweb/core-library

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Usage

Libraries resources:

Testing

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

git clone https://github.com/webeweb/core-library.git
cd core-library
composer install

Once all required libraries are installed then do:

vendor/bin/phpunit

License

core-library is released under the MIT License. See the bundled LICENSE file for details.

Donate

If you like this work, please consider donating at paypal.me