Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #14 from fazae/master
Browse files Browse the repository at this point in the history
composer require cwsDump & cwsDebug
  • Loading branch information
Cr@zy committed Nov 17, 2015
2 parents ad28467 + a467ddc commit e549706
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
}
],
"require": {
"crazy-max/cws-debug": "dev-master",
"crazy-max/cws-dump": "dev-master"
},
"require-dev": {
},
Expand Down
12 changes: 5 additions & 7 deletions example.composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
// sample of cwsMailBounceHandler when installed with composer
// for now, you still need to manually install CwsDebug et CwsDump

// Download CwsDump at https://github.com/crazy-max/CwsDump
require_once '../CwsDump/class.cws.dump.php';
// load composer autoloader
require_once dirname(__FILE__).'/../../autoload.php';

// see CwsDump at https://github.com/crazy-max/CwsDump
$cwsDump = new CwsDump();

// Download CwsDebug at https://github.com/crazy-max/CwsDebug
require_once '../CwsDebug/class.cws.debug.php';
// see CwsDebug at https://github.com/crazy-max/CwsDebug
$cwsDebug = new CwsDebug($cwsDump);
$cwsDebug->setDebugVerbose();
$cwsDebug->setEchoMode();

// load composer autoloader
require_once dirname(__FILE__).'/../../autoload.php';

$cwsMbh = new Cws\MailBounceHandler\Handler($cwsDebug);

// process mode
Expand Down

0 comments on commit e549706

Please sign in to comment.