Skip to content

bearsaturday/BEAR.Saturday

Repository files navigation

BEAR.Saturday

© 2008-2019

What is BEAR.Satruday ?

BEAR.Saturday is a resource oriented web framework for PHP5.2+

Requirements

  • PHP 5.2 - 7.2

Documentation

(日本語) https://github.com/bearsaturday/manual

Upgrade from PEAR installed project

Here is the minimum composer.json to convert composer based project for exisitng PEAR-installed base project.

{
    "name": "my-vendor/my-project",
    "description": "",
    "license": "proprietary",
    "require": {
        "php": ">=5.4",
        "bearsaturday/bearsaturday": "^0.10"
    },
    "repositories": [
        {
            "type": "pear",
            "url": "https://pear.php.net"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "include-path": [
        "./"
    ],
    "autoload": {
        "classmap": [
            "App"
        ]
    }
}

Create project

It is NOT recommended to create new BEAR.Saturday project. Use BEAR.Sunday instead.

composer create-project bearsaturday/skeleton MyVendor.MyPackage

Hosting

ln -s MyVendor.MyPackage/htdocs /path/to/vhost_dir

Demo

Run demo site beardemo.local

コーディングの参考にしてください

YouTube

See Hello World demo in youtube.


First public release: 31 July 2008