How to install a network in Midrub
Midrub has a single location where are located all networks supported(Auth Networks are of a component which could be removed or replaced). The location is application/base/user/networks.
One single location allows to have:
- One redirect url format.
- A single table in the database with networks information.
- Same configuration process(as administrator you won't need to think where is the configuration o a network).
From the version 0.0.8.1 you can install the networks with a click:
To add installation support for your custom network, zip the php file and create a file installation.json:
"version": "network's version",
"required": "Midrub's version",
"php": "php zip",
After this zip the json and zip file.