Download the PHP package marcoazn89/booboo without Composer

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

Install via Composer

composer require marcoazn89/booboo:dev-master

Features

Run BooBoo

This is something you want to do at the begining of your application.

The setUp() method takes 4 parameters:

1) $logger: BooBoo will use error_log by default. If you want to use your own you can pass a psr2 logger compliant like Monolog.

2) $traceAlwaysOn: Turn of or off stack traces. By default they are turned off. You can always turn it on or off later when you throw an exception, but any other regular exception or php error will use the setting defined at the set up

3) $lastAction: This is a callback that will be ran before exiting the application upon encountering an error

4) $ignore: This is an array containing php error constants that you want to ignore.

What happens when an error occurs?

BooBoo! BooBoo!

BooBoo pays attention to Accept headers

Client requesting JSON

BooBoo!

Client requesting XML

BooBoo!

Creating exceptions and templates

1) Simply extend and implement the two abstract methods

2) Templates get the following varibles injected:

3) Throw the exception

Set limits on what you can support

The order in which you add support matters! This will ignore any Accept headers that don't match the supported types. Learn more from http-wrapper

How BooBoo connects errors with HTTP responses:


All versions of booboo with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
marcoazn89/http-wrapper Version ^2.0
monolog/monolog Version ^1.14
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 marcoazn89/booboo contains the following files

Loading the files please wait ....