PHPackages                             y2sunlight/apricot - 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. y2sunlight/apricot

ActiveLibrary[Framework](/categories/framework)

y2sunlight/apricot
==================

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

v1.0.8(5y ago)25111MITPHPPHP ^7.3

Since Jul 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/y2sunlight/apricot)[ Packagist](https://packagist.org/packages/y2sunlight/apricot)[ Docs](http://y2sunlight.com/ground/doku.php?id=apricot:top)[ RSS](/packages/y2sunlight-apricot/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (10)Versions (9)Used By (1)

Apricot Framework
=================

[](#apricot-framework)

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

Installation
------------

[](#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
-----------

[](#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
----------------

[](#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](https://github.com/y2sunlight/apricot-skeleton).

Documentation
-------------

[](#documentation)

The Apricot documentation can be found on the GitHub Wiki: [Apricot-Document](https://github.com/y2sunlight/apricot/wiki/Apricot-Document)

License
-------

[](#license)

The Apricot framework is licensed under the MIT license. See [License File](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

8

Last Release

2063d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46e290a4e7f4072d03796e2940555bfc7fd873349197627d4e880c15391b828a?d=identicon)[y2sunlight](/maintainers/y2sunlight)

---

Top Contributors

[![y2sunlight](https://avatars.githubusercontent.com/u/67058455?v=4)](https://github.com/y2sunlight "y2sunlight (28 commits)")[![tanaka1972](https://avatars.githubusercontent.com/u/67253647?v=4)](https://github.com/tanaka1972 "tanaka1972 (1 commits)")

---

Tags

frameworklightweightlightweight-frameworklightweight-php-frameworkphpphpframeworkmicrolightweight

### Embed Badge

![Health badge](/badges/y2sunlight-apricot/health.svg)

```
[![Health](https://phpackages.com/badges/y2sunlight-apricot/health.svg)](https://phpackages.com/packages/y2sunlight-apricot)
```

###  Alternatives

[luoxiaojun/sw-fw-less

Swoole Http Server without framework

165.3k](/packages/luoxiaojun-sw-fw-less)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
