2017 © Pedro Peláez
 

library jvcphpclib

JavocSoft PHP Commons Library

image

javocsoft/jvcphpclib

JavocSoft PHP Commons Library

  • Sunday, September 28, 2014
  • by javocsoft
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

javocsoft-phpclib

JavocSoft PHP Commons Library

DESCRIPTION, (*1)

This library is a compendium of utility routines and classes that can save you time when coding in PHP., (*2)


INSTALLATION & USAGE, (*3)

To use the library, follow these steps:, (*4)

1.- Get the library code by using Composer utility. First, create "composer.json" file adding to it these lines:, (*5)

{
    "require": {
        "javocsoft/jvcphpclib": "1.0.*"        
    }
}

2.- Second, download Composer utility:, (*6)

    //In Unix/Linux
    curl -sS https://getcomposer.org/installer | php   
    //In Windows system
    Download and install comporser: https://getcomposer.org/Composer-Setup.exe

More about Composer:, (*7)

See Installation notes: https://getcomposer.org/download/
See getting started: https://getcomposer.org/doc/00-intro.md
See Documentation https://getcomposer.org/doc/03-cli.md
, (*8)

3.- Now, download the library by running composer where we created the file "composer.json"., (*9)

4.- Configure the library parameters according to your project by setting these parameters:, (*10)

    define ("INIT_APPNAME","your_app_name");
    define ("INIT_BASEDIR_PATH","your_app_folder\\");
    define ("INIT_LOGS_PATH",INIT_BASEDIR_PATH . "your_log_folder\\");
    define ("INIT_OPENSSL_PATH","your_openssl_folder");
    define ("INIT_ERRORS_ENV_MODE","DEV"); //Or PROD

5.- Add library classes to your project. To achieve this, add the composer "autoload.php" to your code by including it:, (*11)

    require 'vendor/autoload.php';

6.- Initialize the library:, (*12)

    jvcphplib\JVCPHPLib::initLibrary();

The Versions

28/09 2014

dev-master

9999999-dev

JavocSoft PHP Commons Library

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

library utilities commons javocsoft

27/09 2014

1.0.1

1.0.1.0

JavocSoft PHP Commons Library

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

library utilities commons javocsoft

25/09 2014

1.0.0

1.0.0.0

JavocSoft PHP Commons Library

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3.0

 

library utilities commons