PHP Classes

How to get it work?

Recommend this page to a friend!

      BattMan  >  All threads  >  How to get it work?  >  (Un) Subscribe thread alerts  
Subject:How to get it work?
Summary:Please give support
Messages:3
Author:waldifubu
Date:2012-10-04 21:32:35
Update:2012-10-06 18:11:00
 

  1. How to get it work?   Reply   Report abuse  
Picture of waldifubu waldifubu - 2012-10-04 21:32:35
I don't know what to do.

In your bootstrap.php are these lines:
require_once './vendor/autoload.php';
require_once './vendor/ws/loewe/Woody/lib/winbinder.php';
require_once './vendor/ws/loewe/Woody/lib/fi/freeimage.inc.php';

I don't see any vendor package. but there's a directory named source.

So what is to do to get it work?

Greetz
waldifubu


  2. Re: How to get it work?   Reply   Report abuse  
Picture of Stefan Löwe Stefan Löwe - 2012-10-04 22:34:08 - In reply to message 1 from waldifubu

Hi,

and thanks for trying my package.

First off all, this is a client side application, so you will not be able to run it via a browser.

To get it run, you first need to have take care of the following:

1. install PHP 5.4
2. get composer from www.getcomposer.org (easiest way to get dependecies)
3. run php composer.phar install in BattMan directory, this will get you the packages ws\loewe\Utils and ws\loewe\Woody, on which this application depend on (they will be instlaled to BattMan/vendor/*)
4. you need to get the latest winbinder extension, get it from here -> https://github.com/stefan-loewe/WinBinder/tree/master/binaries
5. activate the extension in your php.ini by adding the line extension=winbinder_54_TS.dll
6. run php bootstrap.php from the BattMan directory

Good luck

  3. Re: How to get it work?   Reply   Report abuse  
Picture of Stefan Löwe Stefan Löwe - 2012-10-06 18:11:00 - In reply to message 1 from waldifubu

Hi again,

For making it easier to run the package, I added a "binary" distribution.

However, I cannot upload it to PHPClasses, as it contains binaries, which the site does not allow (for good reasons!)

- Download the binary distribution file BattMan.zip from https://github.com/stefan-loewe/BattMan/tree/master/dist
- Extract to folder of your choice and change into BattMan directory
- Run php BattMan.phar

Enjoy!