Inputs

Overview #

The koolreport\inputs package will add capability of setting custom parameters to your reports. It supports:

  1. Common inputs: TextBox, CheckBoxList, RadioList, Select, MultiSelect
  2. Advanced inputs: DateRangePicker, DateTimePicker
  3. Support data binding to data sources
  4. Support state persistent with report's parameters.

Installation #

By downloading .zip file #

  1. Download zip file from My Licenses
  2. Unzip
  3. Copy the folder inputs into koolreport folder, it will look like below:
koolreport
├── core
├── inputs

By composer #

If you have purchased the package then you can follow these steps to install

  1. Login to koolreport.com
  2. Go to My Licenses
  3. Click Get Token For Composer button
  4. Copy the text and save to file auth.json next to composer.json
  5. Add the repositories to composer.json like below
  6. Run composer update to install package

composer.json

{
    "repositories":[
      {"type":"composer","url":"https://repo.koolreport.com"}
    ],
    "require":{
        "koolreport/inputs":"*",
        ...
    }
}

Your auth.json will look like this:

{
    "http-basic": {
        "repo.koolreport.com": {
            "username": "your@email.com",
            "password": "your-secret-token"
        }
    }
}

Note: Please add your auth.json to .gitignore as it contains your secret login information.