Navigation Menu

Skip to content

y2sunlight/apricot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apricot Framework

Apricot is a PHP lightweight framework for quickly creating simple web applications.

Installation

We recommend using Composer to create a new Apricot project as follows:

composer create-project y2sunlight/apricot your-project-name --dev

Alternatively, you can create it manually as follows:

git clone https://github.com/y2sunlight/apricot your-project-name
cd your-project-name
composer install --dev

Then copy .env.sample to .env.

cd your-project-name
cp .env.sample .env

Quick Start

After creating a new Apricot project, you can try it out right away.

Start PHP's built-in web server in your project folder.

php -S localhost:8888 -t public

And access the following URL.

Your Apricot project "login page" will appear. Then log in. The default account id is root, no password is set.


Use as a library

To use Apricot as a library, do the following:

composer require y2sunlight/apricot

When using it as a library, it's recommended to use the Apricot skeleton.

Documentation

The Apricot documentation can be found on the GitHub Wiki: Apricot-Document

License

The Apricot framework is licensed under the MIT license. See License File for more information.