Installing PRADO
If you are viewing this page from your own Web server, you are already done with the installation.
The minimum requirement by PRADO is that the Web server support PHP 7. PRADO has been tested with Apache Web server on Windows, MacOSX and various Linux distro. Highly possibly it may also run on other platforms with other Web servers, as long as PHP 7 is supported.
Installing a new app based on PRADO
The best way to install PRADO is through composer
If you don't use composer yet, first install it:
curl -s http://getcomposer.org/installer | php
php composer.phar install
Then, create the application structure using composer:
composer create-project pradosoft/prado-app app
The application will be installed in the "app" directory.
Add PRADO to an existing application
Create a composer.json file for your project:
{
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"require": {
"pradosoft/prado": "^4"
}
}
The asset-packagist repository is used to install javascript dependencies.
Assuming you already installed composer, run
composer install
Then you can include the autoloader, and you will have access to the library classes:
<?php
require_once('vendor/autoload.php');