PHPackages                             eric404/droplet - 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. eric404/droplet

ActiveProject

eric404/droplet
===============

PHP/DropLet/ The PHP Framework

V1.1(8y ago)16[1 issues](https://github.com/EricLi404/Droplara/issues)MITPHPPHP &gt;=5.6.30

Since Jan 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/EricLi404/Droplara)[ Packagist](https://packagist.org/packages/eric404/droplet)[ Docs](http://droplara.ericli.top/)[ RSS](/packages/eric404-droplet/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

DropLara
========

[](#droplara)

[![Latest Stable Version](https://camo.githubusercontent.com/3f8eb6d30b30f34777b1224371e7bdeea4c5ebc72186cdd4d912295bcba07cc2/68747470733a2f2f706f7365722e707567782e6f72672f657269633430342f64726f706c6172612f762f737461626c65)](https://packagist.org/packages/eric404/droplara)[![Total Downloads](https://camo.githubusercontent.com/03491bb0a45657b93fbbb840ad089a4b83b056808cf9c9f334231b33db5fbca5/68747470733a2f2f706f7365722e707567782e6f72672f657269633430342f64726f706c6172612f646f776e6c6f616473)](https://packagist.org/packages/eric404/droplara)[![Latest Unstable Version](https://camo.githubusercontent.com/279632fb06c611371fb55f9bd5ad03c8b94e5d48a00add9c5e8993489de85476/68747470733a2f2f706f7365722e707567782e6f72672f657269633430342f64726f706c6172612f762f756e737461626c65)](https://packagist.org/packages/eric404/droplara)[![License](https://camo.githubusercontent.com/c1547ce2aca20bd2d37e4d26e11bff3cd19a4bd99045d654f6ed1185667d255f/68747470733a2f2f706f7365722e707567782e6f72672f657269633430342f64726f706c6172612f6c6963656e7365)](https://packagist.org/packages/eric404/droplara)[![composer.lock](https://camo.githubusercontent.com/226d8fb8e9101983d4aea4dcdb6da0519d26909e04193e7dbaeaca22098efe7a/68747470733a2f2f706f7365722e707567782e6f72672f657269633430342f64726f706c6172612f636f6d706f7365726c6f636b)](https://packagist.org/packages/eric404/droplara)

DropLara is a Simple PHP Framework powered by Composer, looks like a Tiny Laravel.

Start
-----

[](#start)

### Download:

[](#download)

```
git clone https://github.com/EricLi404/DropLet.git
cd DropLet

```

*OR:*

Download in [releases page](https://github.com/EricLi404/DropLara/releases).

### Install dependencies:

[](#install-dependencies)

```
composer update

```

### Databases import:

[](#databases-import)

- import `DropLara.sql`;
- Rename `config/database_demo.php` to `config/database.php` ;
- Modify `config/database.php`

### Run:

[](#run)

```
cd public
php -S 127.0.0.1:2333

```

Then visit .

**It works!**

URL Rewrite:
------------

[](#url-rewrite)

### Apache

[](#apache)

```
# .htaccess

        Options -MultiViews

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

```

### Nginx

[](#nginx)

```
# nginx.conf
autoindex off;

location / {
	try_files $uri $uri/ /index.php?/$uri;
}

```

Plug-in
-------

[](#plug-in)

### Mail

[](#mail)

Modify `config/mail.php`

```
return [
    'host'=>'smtp.xxxx.com',
    'username'=>'xxx@xxxx.com',
    'password'=>'password'
];

```

Modify `app/controllers/xxxxController.php`

```
$this->mail = Mail::to('test@gmail.com')
            ->subject('Hello World')
            ->htmlBody('Hello World from DropLet');

```

### Redis

[](#redis)

Modify `config/redis.php`

```
return [
    'host' => '127.0.0.1',
    'port' => 6379
];

```

Modify `app/controllers/xxxxController.php`

```
Redis::set('key','value',3000,'ms');
echo Redis::get('key');

```

Features:
---------

[](#features)

1. MVC architecture
2. Redis ready in Laravel-style
3. Handy SMTP mailer
4. One of the Most powerful PHP ORM on Earth: [Laravel Eloquent](https://laravel.com/docs/4.2/eloquent)
5. RouteModule powered by fast and sexy [codingbean/macaw](https://packagist.org/packages/codingbean/macaw)

License
-------

[](#license)

The DropLara framework is open-sourced software licensed under the [MIT license](https://github.com/EricLi404/DropLara/blob/master/LICENSE)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

2

Last Release

3040d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d30ebe98e1f63c9a3634b3be936429fc07eabad36b924402c2b95b04c53606c?d=identicon)[EricLi404](/maintainers/EricLi404)

---

Top Contributors

[![EricLi404](https://avatars.githubusercontent.com/u/12013112?v=4)](https://github.com/EricLi404 "EricLi404 (27 commits)")

---

Tags

phpphp framework

### Embed Badge

![Health badge](/badges/eric404-droplet/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)

PHPackages © 2026

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