Download the PHP package karmabunny/kb without Composer

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

Karmabunny Helpers

Just a big bunch of your favourite utilities.

Most of these have been repurposed from Sprout.

Add more if you please.

Usage

Pin it loosely the latest major version.

Code standard

Keep the dependencies to nil.

If you need them, then it doesn't belong in this library.

Add the damn tests.

Like, even just the happy-cases.

Running tests

Create tests whenever you can.

Run them like this: composer test.

Deprecation path

Mistakes happen and sometimes you realise that your naming convention is terrible.

So when removing things, first mark them as @deprecated this should signal to anyone using the code that it'll disappear in the next major version. Like even if we forget and we're still lugging a bunch of stuff in the compat folder.

As always, when deprecating + removing things always annotate your release tag.

List of Utilities

Arrays

Lots of bits.

Output Buffer

Object interface for ob() methods.

CLI utilities

Collections

Models! Models! Models!

Collections extends DataObject with some array-like, virtual, serializable stuff.

This encapsulates a body of other interfaces and helpers:

Some optional behavioural traits:

CLI utilities

Config

Helper to load configs. Extend it and configure your paths. Supports config flattening.

Country Names

Using php-intl to convert between ISO codes and names.

Country Zones

Lookup countries from a timezone, or zones within a country.

CSV

DocType

Parse types from doc comments.

Encrypt

Configurable openssl based text encryption.

Env

Environment loading from system or a config file.

Also isContainer() - super handy.

Event

Object event system.

Generate

Simple helpers to serialise arrays into PHP code.

HttpStatus

Some consts. Some strings.

Inflector

Converting plurals. English only - for code patterns. Go find some ICU if you want pluralisation in your UI.

Job

Generic type for crons and workers.

Json and Javascript

Helpers to encode JSON objects and embed Javascript.

Loggable and Log

Per-class logging utilities. Log forwarding and filtering.

Reflect

Some useful reflection things.

Kind of a mess actually.

Secrets

Masking or removing known secrets by identifing patterns.

Serialisation

Security

Shell

Proc wrapper. But actually don't use this.

Sortable

Sorting lists of objects w/ Array::sort helpers.

Text

Multibyte helpers, normalisers, masking PII data.

Time

TimeZones

Conversion between Windows and IANA timezones.

Url

Encode, decode, parser, builder.

UUID

for v1, v4, v5 (the good ones)

Validators

Collection extensions:

XML/Dom utils


All versions of kb with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
karmabunny/interfaces Version ^2
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 karmabunny/kb contains the following files

Loading the files please wait ...