2017 © Pedro Peláez
 

library phpstarter

Set of tools for a good start of PHP project

image

paq85/phpstarter

Set of tools for a good start of PHP project

  • Monday, March 23, 2015
  • by paq85
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PhpStarter

Build Status Packagist Version, (*1)

Takes care preparing PHP's settings to let you work on a well written project, (*2)

\Paq\PhpStarter\PhpStarter::start();

What does it do?, (*3)

  • Report all Errors
  • Convert PHP Errors, Notices etc. to Exceptions

Why?, (*4)

  • Having error reporting enabled with conversion to exceptions gives you full control over your code. It makes writing automatic tests easier which let's you provide much better software. Many people disable error reporting in Production. IMHO it should be ENABLED on all environments.

Convert PHP Errors, Notices etc. to Exceptions

If you only want to convert PHP Errors to Exceptions use, (*5)

\Paq\PhpStarter\PhpStarter::convertErrorsToExceptions();

Tips

You SHOULD NOT use "@" (Inline Error Suppression) in your code., (*6)

See PHP The Right Way: Errors and Exceptions, (*7)

Credits

Thanks to, (*8)

Useful links

The Versions

23/03 2015

dev-master

9999999-dev

Set of tools for a good start of PHP project

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

23/03 2015

v1.0.0

1.0.0.0

Set of tools for a good start of PHP project

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires