prado

Prado - Component Framework for PHP 5 and 7

  • 所有者: pradosoft/prado
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Prado PHP Framework

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

Build Status
Code Quality
Code Coverage
Total Downloads
Latest Stable Version
Gitter

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, and many other features that are seldom found in other programming frameworks.

The PRADO framework and the included demos are free software. They are released under the terms of the LICENSE.

Install

The best way to install PRADO is through composer.
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.

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.1"
  }
}

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 'vendor/autoload.php';

Quickstart Documentation

A great introduction to PRADO is available in the Quickstart tutorial.
The tutorial itself is a PRADO application included in the demos

API Documentation

The complete API documentation can be found on the API Manual

PRADO uses its own fork of ApiGen 4 (http://www.apigen.org) to generate its API documentation.
An ApiGen configuration file is providen, to generate the documentation just execute

composer gendoc

The documentation will be generated in the build/docs/ directory.

Demo Apps

Several different example PRADO applications are provided in the https://github.com/pradosoft/prado-demos repository. You can see these applications running here: http://www.pradoframework.net/site/demos/ .
When you create your own PRADO application you do NOT need these folders.

Integration with your favorite IDE/editor

Plugins providing syntax highlighting and code snippets can be found at https://github.com/pradosoft/editor-plugins

Contributing

In the spirit of free software, everyone is encouraged to help improve this project.

Here are some ways you can contribute:

  • by using prerelease versions
  • by reporting bugs
  • by writing specifications
  • by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
  • by refactoring code
  • by resolving issues
  • by reviewing patches

Starting point:

  • Fork the repo
  • Clone your repo
  • Make your changes
  • Write tests for your changes to ensure that later changes to PRADO won't break your code.
  • Submit your pull request

Testing

PRADO uses phpunit (https://phpunit.de/) for unit testing and Selenium (http://www.seleniumhq.org/) for functional testing.
A phpunit configuration file is providen, to run the tests just execute

composer unittest to run unit tests and
composer functionaltest to run functional tests.

Test results will be saved in in the build/tests/ directory.

主要指標

概覽
名稱與所有者pradosoft/prado
主編程語言PHP
編程語言PHP (語言數: 8)
平台
許可證Other
所有者活动
創建於2013-03-01 10:59:09
推送於2025-05-12 18:21:15
最后一次提交2025-05-12 20:21:17
發布數57
最新版本名稱4.3.0 (發布於 )
第一版名稱3.0a (發布於 )
用户参与
星數187
關注者數33
派生數72
提交數3.8k
已啟用問題?
問題數812
打開的問題數44
拉請求數164
打開的拉請求數1
關閉的拉請求數16
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?