PHPackages                             pakrchen/caravel - 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. pakrchen/caravel

ActiveLibrary[Framework](/categories/framework)

pakrchen/caravel
================

A plain PHP framework.

0641PHP

Since Apr 28Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

caravel
=======

[](#caravel)

A plain PHP framework. (to quickly build a web app, see [caravel-mvc](https://github.com/pakrchen/caravel-mvc))

How to use Caravel framework
----------------------------

[](#how-to-use-caravel-framework)

1. You need to create a file named "composer.json" in your project's root directory. And the content in it is like below.

    ```
    {
      "require": {
        "pakrchen/caravel": "dev-master"
      }
    }
    ```
2. Then run "composer install" in the root directory, where Composer will fetch the framework as a package automatically.

    If you have not installed Composer in your server, install it. Composer makes you powerful and you will surely benefit from various other excellent packages.

    Here is an instruction of the installation of Composer: .
3. You have gotten the core part of the framework. Good job! Now create two folders named "app" and "public" respectively in the root directory.

    In "public" folder, create a file named "index.php", which is the only entrance of your web application. And the content in it is like below.

    ```
