openclassify/openclassify
Composer 安装命令:
composer create-project openclassify/openclassify
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
OpenClassify is a modular classifieds marketplace built with Laravel 12 and Filament v5.
Core Stack
- Laravel 12
- FilamentPHP v5
nwidart/laravel-modules- Blade + Tailwind + Vite
- Spatie Permission
- Laravel Reverb + Echo (realtime chat)
Modules
All business features live in Modules/* (routes, services, models, resources, views, seeders).
Create a new module:
php artisan module:make ModuleName
Enable it in modules_statuses.json.
Quick Start
Docker
cp .env.example .env docker compose up -d
App URLs:
- Frontend:
http://localhost:8000 - Admin:
http://localhost:8000/admin - Panel:
http://localhost:8000/panel
Local
Requirements: PHP 8.2+, Composer, Node 18+, database server.
composer install npm install cp .env.example .env php artisan key:generate php artisan migrate php artisan db:seed composer run dev
Seeded Accounts
| Role | Password | |
|---|---|---|
| Admin | a@a.com |
236330 |
| Member | b@b.com |
36330 |
Demo Mode
Demo mode provisions a temporary, per-visitor marketplace schema.
Requirements:
DB_CONNECTION=pgsqlDEMO=1
Minimal .env:
DEMO=1 DEMO_TTL_MINUTES=360 DEMO_SCHEMA_PREFIX=demo_ DEMO_COOKIE_NAME=oc2_demo DEMO_LOGIN_EMAIL=a@a.com DEMO_PUBLIC_SCHEMA=public
Commands:
php artisan demo:prepare php artisan demo:cleanup
Notes:
- First guest homepage shows only
Prepare Demo. Prepare Democreates/reuses a private schema and logs in seeded admin.- Expired demos are cleaned up automatically (hourly schedule).
Realtime Chat (Reverb)
Set .env:
BROADCAST_CONNECTION=reverb REVERB_APP_ID=app_id REVERB_APP_KEY=app_key REVERB_APP_SECRET=app_secret REVERB_HOST=localhost REVERB_PORT=8080 REVERB_SCHEME=http REVERB_SERVER_HOST=0.0.0.0 REVERB_SERVER_PORT=8080 VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" VITE_REVERB_HOST="${REVERB_HOST}" VITE_REVERB_PORT="${REVERB_PORT}" VITE_REVERB_SCHEME="${REVERB_SCHEME}"
Start:
composer run dev
Channel strategy:
- private channel:
users.{id}.inbox - events:
InboxMessageCreated,ConversationReadUpdated
Test and Build
php artisan test
php artisan optimize:clear
php artisan view:cache
Production Checklist
php artisan migrate --force php artisan db:seed --force php artisan storage:link php artisan config:cache php artisan route:cache php artisan view:cache
Contributors
- Website: openclassify.com
- Package: openclassify/openclassify
- Contributors: GitHub graph
openclassify/openclassify 适用场景与选型建议
openclassify/openclassify 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.52k 次下载、GitHub Stars 达 319, 最近一次更新时间为 2019 年 06 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 openclassify/openclassify 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 openclassify/openclassify 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 openclassify/openclassify 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 2.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 320
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-23