Download the PHP package cyberomulus/php-toolbox without Composer

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

phpToolbox

Build Status Coverage Status

Simple php toolbox for not to reinvent the wheel!

Why this library ?

Every day, we write the same functions for our different projects.
This library contains a multiple functions so as not to have to write them each time.

It also brings some advantages:

Requirements

Installation

Download whith composer :

composer require cyberomulus/php-toolbox:1.2.*

How to use ?

By single class

For use a single class, you can simply create an instance to use it.

For example, use the functions of manipulation and verification of texts:

$textManip = new Cyberomulus\PhpToolbox\Text();
$bool = $textManip->startWith("simple example", "example");

By main class (for use by service)

If you use a framework, a good practice is to declare this lib as a service.
In order not to have to declare as many services as class, a class provider exists: Cyberomulus\PhpToolbox\PhpToolbox\.

Once the service is created, you will have access to each class containing the functions:

$textManip = $this->getService("phpToolBox")->getText();
$bool = $textManip->startWith("simple example", "example");

If you use Symfony >4.0 you can use the bundle cyberomulus/phpToolboxBundle for inject this class in a service.

Class list

Documentation

All functions have a phpdoc and doc inline.

Want more ?

You just have to ask

You can request a new function in issue

Contribute

Your pull requests are welcome!!
Sharing is the strength of this lib.

Please read branches schema and simply:

Contributors

License

This library is open-source software licensed under the MIT license.


All versions of php-toolbox with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3
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 cyberomulus/php-toolbox contains the following files

Loading the files please wait ....