Download the PHP package parseword/pickset without Composer
On this page you can find all versions of the php package parseword/pickset. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download parseword/pickset
More information about parseword/pickset
Files in parseword/pickset
Package pickset
Short Description A collection of PHP utilities to unlock various functionality in your applications
License Apache-2.0
Homepage https://github.com/parseword/pickset/
Informations about the package pickset
pickset
A collection of PHP utilities to "unlock" various capabilities in your
applications. pickset
is comprised of several classes:
-
DatabaseConnection
- a PDO connection wrapper, implemented as a singleton -
DateUtils
- methods for converting and working with dates and epoch values -
FileUtils
- methods for interacting with files and directories -
Exception\LoggedException
- an Exception that usesLogger
to write a log entry even if it's caught -
Logger
- a text file logging facility, implemented as a singleton TextUtils
- methods for parsing and manipulating text strings
Requirements
- PHP 7.1 or better; some functions now have nullable return type declarations which aren't supported in older PHP versions.
Installation
You can install pickset
either with or without Composer.
With Composer
Use Composer to require pickset
into your project.
Require Composer's autoloader, alias whichever classes you want with the use
statement for convenience, and go to town.
Without Composer
Use git to clone pickset
into a subdirectory of your project.
In your code, you'll need to import the manual autoloader before you can use any of the classes, e.g.
Usage
There's no thorough documentation yet outside of the code comments. I needed to get this onto packagist quickly to import it from some other projects.
Logger
class documentation: README-Logger.md
I'll add more documentation as time permits.