Skip to content

Avaaz/bouncestudio-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The "BounceStudio API" PHP 7 extension

Topline

This extension is a PHP API of the BounceStudio library of the BoogieTools, Inc. The extension utilizes functions of that library and completely depends on it. That library enables your application to recognize thousands of email bounce formats. Easy to use, robust, extremely fast, and accurate, BounceStudio API was designed for professional Linux developers who demand the best.

Installation

  1. Make a temporary folder:
mkdir /tmp/bouncestudio_install
cd /tmp/bouncestudio_install
  1. Download and extract the most recent BounceStudio library:
wget https://www.boogietools.com/download/Linux/BounceStudioAPI/BounceStudioAPI-linux.tar.gz
tar -xvzf BounceStudioAPI-linux.tar.gz
  1. Place the BounceStudio lib into a proper place on your machine (we will build it on the x86_64 platform so we use appropriate lib file and system folder):
sudo cp BounceStudioAPI-linux/libBounceStudio64.so.3.7.0.962 /usr/lib64/
sudo ln -s /usr/lib64/libBounceStudio64.so.3.7.0.962 /usr/lib64/libBounceStudio64.so
  1. Time to checkout this repo:
git clone git@github.com:Avaaz/bouncestudio-php7.git
  1. Copy BounceStudio.h to the folder of the extension you want to build (we will build the extension for the PHP7. For PHP5 use appropriate folder):
cp BounceStudioAPI-linux/BounceStudio.h bouncestudio-php-7/
  1. Now we are ready do build it. So let's do it:
cd bouncestudio-php-7/
phpize
./configure --enable-bouncestudio
make CFLAGS="-lBounceStudio64 $CFLAGS"
  1. Install the extension lib to the php modules folder:
sudo make install
  1. Do not forget to enable the extension in your php.ini configuration with:
extension=bouncestudio.so
  1. Let's check it's enabled:
php --ri "BounceStudio API"

About

PHP 7 wrapper for BoogieTools BounceStudio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published