Skip to content

IGBIllinois/IGBIllinois-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGBIllinois-php

Build Status

Common PHP Libraries used in IGBIllinois projects

Requirements

  • Composer
  • PHP 7.2 or greater
  • PHP gd module
  • PHP mbstring module
  • PHP json module
  • PHP ldap module

Install

  • Install required PHP modules
dnf install php-gd php-mbstring php-ldap php-json php-xml
  • Add to your composer.json file
"repositories" : [
    {
        "type": "vcs",
        "url": "https://www.github.com/IGBIllinois/IGBIllinois-php"
    }
],
  • Add to your 'required' section of the composer.json file
  • For latest development code in the main brach
"igbillinois/igbillinois-php": "dev-main"
"igbillinois/igbillinois-php": "1.0"
  • To always use latest tag release
"igbillinois/igbillinois-php": ">=1.0 <2.0"
  • Run composer install
composer install
  • The namespace is IGBIllinois. Add to your PHP code
use IGBIllinois;

or to call a class directly

$db = new \IGBIllinois\db(...);
$ldap = new \IGBIllinois\ldap(...);

API Documentation

vendor/bin/phpdoc -d libs -t docs --template responsive-twig --title 'IGBIllinois-php API'