webeweb/core-library

Core library

v8.85.0 2024-03-18 17:02 UTC

README

Github actions workflow status Coveralls Packagist version Packagist license

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

Provides:

  • Accounting models
  • Billing models
  • cURL wrapper
  • Database connectors (Access, SQL Server, MySQL, etc.)
  • FTP clients (FTP, FTPS, SFTP, etc.)
  • Image utilities
  • Logger models
  • Maths helpers (Fibonacci, Luhn algorithm, Pascal's triangle, ROT13, ROT45, etc.)
  • Planning utilities (time slots, etc.)
  • Quadratus models
  • Security classes (authenticator, password authentication, token generator, etc.)
  • Serialization utilities
  • SkiData utilities (card, customer, user, etc.)
  • Sorting utilities (alphabetical tree sort, quick sort, etc.)
  • System utilities (hard disk, memory, network, operating system, processor, etc.)
  • Traits collection (array, boolean, double, float, integer, string, etc.)
  • Types utilities (array, boolean, double, float, integer, string, etc.)
  • Validation API (rule, rule set, validator, etc.)
  • Vehicle models

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.

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