2017 © Pedro Peláez
 

library nero

Crash your application

image

degraciamathieu/nero

Crash your application

  • Tuesday, July 3, 2018
  • by DeGraciaMathieu
  • Repository
  • 1 Watchers
  • 4 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

, (*1)

Scrutinizer Code Quality Latest Version on Packagist , (*2)

DeGraciaMathieu/Nero

This package allows you to simulate a fatal error in your PHP application, (*3)

Installation

Run in console below command to download package to your project:, (*4)

composer require degraciamathieu/nero

How use

There are two possibilities : Breaker::syntaxError() and Breaker::classNotFound()., (*5)

You can pass to these methods several criteria: a file, a specific line and a parameter., (*6)

require 'vendor\autoload.php';

use \DeGraciaMathieu\Nero\Breaker;

Breaker::syntaxError($file = null, $line = null, $parameter = null);

By default the method will automatically complete all these criteria., (*7)

Basic usage

require 'vendor\autoload.php';

use \DeGraciaMathieu\Nero\Breaker;

Breaker::syntaxError();

Demo, (*8)

require 'vendor\autoload.php';

use \DeGraciaMathieu\Nero\Breaker;

Breaker::classNotFound();

Demo, (*9)

Usage with parameters

require 'vendor\autoload.php';

use \DeGraciaMathieu\Nero\Breaker;

Breaker::syntaxError('Website\routes\web.php', 120, ';');

Demo, (*10)

require 'vendor\autoload.php';

use \DeGraciaMathieu\Nero\Breaker;

Breaker::classNotFound('Website\routes\web.php', 30, 'MySpecificClass');

Demo, (*11)

The Versions

03/07 2018

dev-master

9999999-dev https://github.com/degraciamathieu/nero

Crash your application

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by De Gracia Mathieu

crash joke breaker fatal error

14/05 2018

v1.0

1.0.0.0 https://github.com/degraciamathieu/nero

Crash your application

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by De Gracia Mathieu

crash joke breaker fatal error