techofficer/prelauncher

Client for Prelauncher API

1.0.0 2015-11-27 17:23 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:03:31 UTC


README

Prelauncher.info - prelaunch website builder which helps new online store owners to easily build a viral pre-launch website and start referral prelaunch campaign. No coding skills required.

The design of this library was heavily influenced by Httpful.

Requirements

Issues

Please use appropriately tagged github issues to request features or report bugs.

Installation

You can install using composer or from source. Note that Prelauncher is PSR-0 compliant:

Composer

If you don't have Composer install it:

$ curl -s https://getcomposer.org/installer | php

Require prelauncher in your composer.json:

{
    "require": {
        "techofficer/prelauncher": "1.*"
    }
}

Refresh your dependencies:

$ php composer.phar update

Then make sure to require the autoloader and initialize all:

<?php
require(__DIR__ . '/vendor/autoload.php');

\Httpful\Bootstrap::init();
\RESTful\Bootstrap::init();
\Prelauncher\Bootstrap::init();
...

Source

Download Httpful source:

$ curl -s -L -o httpful.zip https://github.com/nategood/httpful/zipball/v0.2.3;
$ unzip httpful.zip; mv nategood-httpful* httpful; rm httpful.zip

Download RESTful source:

$ curl -s -L -o restful.zip https://github.com/matthewfl/restful/zipball/master;
$ unzip restful.zip; mv matthewfl-restful* restful; rm restful.zip

Download the Prelauncher source:

$ curl -s -L -o prelauncher.zip https://github.com/techofficer/prelauncher-php/zipball/master
$ unzip prelauncher.zip; mv prelauncher-prelauncher-php-* prelauncher; rm prelauncher.zip

And then require all bootstrap files:

<?php
require(__DIR__ . "/httpful/bootstrap.php")
require(__DIR__ . "/restful/bootstrap.php")
require(__DIR__ . "/prelauncher/bootstrap.php")

\Httpful\Bootstrap::init();
\RESTful\Bootstrap::init();
\Prelauncher\Bootstrap::init();
...

Usage

See https://prelauncher.info/docs for guides and documentation.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write your code and tests
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new pull request