PHPackages                             hughcube/demo - 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. hughcube/demo

ActiveProject[Framework](/categories/framework)

hughcube/demo
=============

The skeleton application for the Laravel framework.

07↓92.3%PHP

Since May 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/hughcube/demo)[ Packagist](https://packagist.org/packages/hughcube/demo)[ RSS](/packages/hughcube-demo/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Demo（Laravel 12）
================

[](#demolaravel-12)

一个用于演示的 Laravel 项目，集成了阿里云 OSS、函数计算、Octane 等常用组件，方便在本地或容器内快速体验。

环境要求
----

[](#环境要求)

- PHP 8.4+，Composer，。
- 可选：Docker / Docker Compose（仓库已提供 `docker-compose.yml`）。

快速开始（推荐容器方式）
------------

[](#快速开始推荐容器方式)

1. 复制环境变量：`cp .env.example .env`（如需自定义，可直接编辑 `.env`）。
2. 启动容器：`docker compose up -d`。
3. 进入容器安装依赖（必须使用下方代理命令，否则国内网络无法拉取依赖）： ```
    http_proxy=http://host.docker.internal:7890 https_proxy=http://host.docker.internal:7890 composer install -vvv
    ```
4. 启动服务：容器默认已在 5012 暴露 80 端口，可直接访问；若需要手动启动可执行 `php artisan serve --host=0.0.0.0 --port=80`。

本地运行（非容器）
---------

[](#本地运行非容器)

1. 安装 PHP 扩展：pdo、opcache、xhprof（如果只本地开发可跳过 xhprof）。
2. 初始化： ```
    cp .env.example .env
    php artisan key:generate
    php artisan migrate
    ```

其他说明
----

[](#其他说明)

- 代理命令是必须的：仓库依赖了私有/国内镜像的包，未设置代理会导致 Composer 安装失败。
- 如果使用自定义镜像或镜像站，可调整 `.env` 中的 `COMPOSER_PROXY` 或自行配置 Composer 源。

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance59

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5361789?v=4)[hugh.li](/maintainers/hughcube)[@hughcube](https://github.com/hughcube)

---

Top Contributors

[![hughcube](https://avatars.githubusercontent.com/u/5361789?v=4)](https://github.com/hughcube "hughcube (40 commits)")

### Embed Badge

![Health badge](/badges/hughcube-demo/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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