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.

06↓50%PHP

Since Mar 2Pushed 2mo ago1 watchersCompare

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

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

20

—

LowBetter than 14% of packages

Maintenance56

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

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://www.gravatar.com/avatar/5d833a031b6ed1bf171306781f7ef01e988ad9f6c7d6a9071d9f913f25a098a5?d=identicon)[hughcube](/maintainers/hughcube)

---

Top Contributors

[![hughcube](https://avatars.githubusercontent.com/u/5361789?v=4)](https://github.com/hughcube "hughcube (39 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/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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