Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.22 KB

php-lua-serialize

Simple class to serialize a php array/object/string into LUA. Developed for use at www.x4b.net. Pull requests, features and patches welcome.

Requirements

You need PHP 5.3+

Install Lua Serialize (PHP)

Installing via Composer

The recommended way to install the SSL Store API Library is through Composer.

  1. Add splitice/php-lua-serialize as a dependency in your project's composer.json file:

     {
         "require": {
             "splitice/php-lua-serialize": "dev-master"
         }
     }
    
  2. Download and install Composer:

     curl -s http://getcomposer.org/installer | php
    
  3. Install your dependencies:

     php composer.phar install
    
  4. Require Composer's autoloader

    Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:

     require 'vendor/autoload.php';
    

You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at getcomposer.org.