How to install and use php-pushwoosh on Ubuntu 12.04 LTS Linux OS with/without using Composer? -
i want install , use php-pushwoosh on system running on ubuntu 12.04 lts linux os.
for went link php-pushwoosh website. there come know can install php-pushwoosh using composer:
the easiest way install library use composer , define following dependency inside composer.json file.
but i've no idea composer , how install software using composer. ultimate goal install php-pushwoosh on machine , execute code. install composer or not, doesn't matter me.
if explain working code example of php-pushwoosh send push-notification iphone great.
composer tool dependency management in php. allows declare dependent libraries project needs , install them in project you.
if php developer profession recommend getting composer, love piece of software.
it's not complicated looks @ first glance, read composer's introduction , should able install composer , require packages.
start new project
- create new folder
my-project-name/
following composer project install guide
- create new file
my-project-name/composer.json
- look @
php-pushwoosh
install guide , copy require sectioncomposer.json
file:
{ "require": { "gomoob/php-pushwoosh": "~1.0" } }
- move project folder (terminal/command line)
cd my-project-name
- run
composer install
- wait ...
- start new
php-file
, reqirerequire __dir__.'/vendor/autoload.php';
- start programming
Comments
Post a Comment