PHPackages                             pradosoft/prado - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. pradosoft/prado

ActiveLibrary[Framework](/categories/framework)

pradosoft/prado
===============

Component Framework for PHP

4.3.2(3mo ago)19185.2k↑29.8%70[45 issues](https://github.com/pradosoft/prado/issues)[2 PRs](https://github.com/pradosoft/prado/pulls)12BSD-3-ClausePHPPHP &gt;=8.1.0CI passing

Since Mar 1Pushed 1mo ago33 watchersCompare

[ Source](https://github.com/pradosoft/prado)[ Packagist](https://packagist.org/packages/pradosoft/prado)[ Docs](https://github.com/pradosoft/prado)[ RSS](/packages/pradosoft-prado/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (40)Used By (12)

Prado PHP Framework
===================

[](#prado-php-framework)

PRADO is a component-based and event-driven programming framework for developing Web applications in PHP. PRADO stands for PHP Rapid Application Development Object-oriented.

[![Build Status](https://github.com/pradosoft/prado/actions/workflows/prado.yml/badge.svg)](https://github.com/pradosoft/prado/actions/workflows/prado.yml)[![Code Quality](https://camo.githubusercontent.com/fd5dd640ce88e613723aff76a3e674f40b7e2059cb736c1b417b8c0f7277f1ef/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f707261646f736f66742f707261646f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pradosoft/prado)[![Code Coverage](https://camo.githubusercontent.com/a2ac411a3697cc678782769d922de1707b98b229a1f7f7938aa4dc0f721faafd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f707261646f736f66742f707261646f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pradosoft/prado/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/02546768e8039534a7c089263f5e9fd4e5b75e2082dd6a4b6139e936d82e73f6/68747470733a2f2f706f7365722e707567782e6f72672f707261646f736f66742f707261646f2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/pradosoft/prado)[![Latest Stable Version](https://camo.githubusercontent.com/7e12c4498fd3a921192e9b9ff0297035bdbf1a9e87c7d227f194804640cd590d/68747470733a2f2f706f7365722e707567782e6f72672f707261646f736f66742f707261646f2f762f737461626c652e706e67)](https://packagist.org/packages/pradosoft/prado)

PRADO is best suitable for creating Web applications that are highly user-interactive. It can be used to develop systems as simple as a blog system to those as complex as a content management system (CMS) or a complete e-commerce solution. Because PRADO promotes object-oriented programming (OOP) through its component-based methodology, it fits extremely well for team work and enterprise development. Its event-driven programming pattern helps developers gain better focus on business logic rather than distracted by various tedious and repetitive low-level coding handling.

PRADO comes with many features that can cut down development time significantly. In particular, it provides a rich set of pluggable Web controls, complete database support including both active record and complex object mapper, seamless AJAX support, theme and skin, internationalization and localization, various caching solutions, security measures, object extensions with behaviors, composer integration with plugins, cron task manager, industry standard RBAC permissions, command line application interface, and many other features.

The PRADO framework and the included demos are free software. They are released under the terms of the [LICENSE](https://github.com/pradosoft/prado/blob/master/LICENSE).

Install
-------

[](#install)

The best way to install PRADO is [through composer](http://getcomposer.org). If you don't use composer yet, first install it:

```
# download composer.phar
curl -s http://getcomposer.org/installer | php
# install it globally on the system
mv composer.phar /usr/local/bin/composer
```

Then, create the application structure using composer:

```
composer create-project pradosoft/prado-app app
```

The application will be installed in the "app" directory.

#### Built-in PHP Test Web Server

[](#built-in-php-test-web-server)

The built-in PHP Test Web Server can be used to immediately start developing and testing a web application. The web server is started with command (assuming the above application in the directory "app"):

```
cd app/protected
./vendor/bin/prado-cli http
```

The application is then accessible on the machine's browser at `http://127.0.0.1:8080/`. The built-in web server is enabled when the application is in "Debug" mode or is enabled in the application configuration parameters.

### Add PRADO to an existing application

[](#add-prado-to-an-existing-application)

Just create a composer.json file for your project:

```
{
  "repositories": [
    {
      "type": "composer",
      "url": "https://asset-packagist.org"
    }
  ],
    "require": {
      "pradosoft/prado": "^4"
  }
}
```

The [asset-packagist](https://asset-packagist.org) repository is used to install javascript dependencies. Assuming you already installed composer, run the command:

```
composer install
```

Then you can include the autoloader, and you will have access to the library classes:

```
