Download the PHP package wangta69/laravel_board without Composer
On this page you can find all versions of the php package wangta69/laravel_board. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel_board
Laravel Board (K-BBS)
A Korean-style Bulletin Board System (BBS) package for Laravel.
한국형 계층형 게시판(BBS)을 라라벨에서 쉽고 빠르게 구축하기 위한 패키지입니다.
💡 Overview
This library is designed to implement the hierarchical board structure (List, View, Write, Reply, Comment) commonly used in Korea within the Laravel environment. It supports Bootstrap 5 by default.
이 라이브러리는 길라(Gilra) (Online Fortune Service)의 커뮤니티 및 공지사항 기능을 구축하는 데 실제로 사용되었습니다.
- Demo: Live Demo Link
- Official Docs: Documentation
🚀 Features
- Korean Style BBS: Hierarchical posts (Reply), Comments, Secret posts with session-based access control.
- Universal Admin Layout: Seamlessly integrates with both Blade Components (
<x-...>) and traditional@extendsadmin templates. - Custom Query Customizer: Easily attach custom
leftJoin,where, andaddSelectwithout overriding controllers. - Event-Driven Architecture: Dispatches events for post/comment creation, updates, and deletion.
- Thumbnails: Real-time thumbnail generator helper with Laravel Storage disk support.
- Widgets: Latest posts widget helper.
- Comments Component: Easily add comment functionality to any model.
📦 Installation
Requirements
- PHP >= 8.0 (Tested on PHP 8.0 ~ 8.3)
- Laravel >= 8.x (Tested on 8.x ~ 11.x)
- Bootstrap 5.x
- jQuery 3.6.x
1. Require the package via Composer
2. Install Assets & Config
Run the installation command to publish assets, configuration, and migration files.
🛠 Configuration & Usage
1. Admin Security Setup
After installation, secure the Admin Controller by setting up middleware or permissions.
2. Universal Admin Layout Configuration
You can configure the admin layout in config/pondol-bbs.php to seamlessly blend into your existing project:
3. Create a Board
- Access the admin panel:
http://YourDomain/bbs/admin - Create a new board configuration (e.g., table name:
notice). - (Optional) If you need a role management system:
4. Access the Board
- Admin URL:
http://YourDomain/bbs/admin/tbl/{table_name} - User URL:
http://YourDomain/bbs/{table_name}
🎨 Helpers & Components
Real-time Thumbnail
Generate thumbnails on the fly using Laravel's Storage system.
Latest Posts Widget
Display the latest posts from a specific board.
Forum (Comment) Component
You can attach a comment section to any arbitrary model or page.
- skin: Skin name (default:
'default'). - item: Target category or model name (string).
- itemId: Unique ID of the target content.
⚡ Events & Webhooks (이벤트 시스템)
Laravel Board dispatches events on post and comment lifecycle activities. You can hook into these events in your host application to trigger Telegram alerts, push notifications, reward points, or logging.
Available Events
| Event Class | Description | Properties |
|---|---|---|
Pondol\Bbs\Events\ArticleCreated |
새 글이 등록되었을 때 발생 | $event->article, $event->cfg, $event->user |
Pondol\Bbs\Events\ArticleUpdated |
글이 수정되었을 때 발생 | $event->article, $event->cfg, $event->user |
Pondol\Bbs\Events\ArticleDeleted |
글이 삭제되었을 때 발생 | $event->article, $event->cfg, $event->user |
Pondol\Bbs\Events\CommentCreated |
새 댓글/답글이 등록되었을 때 발생 | $event->comment, $event->article, $event->cfg, $event->user |
Listening to Events
Register listeners in your App\Providers\EventServiceProvider.php (or AppServiceProvider.php in Laravel 11):
🔍 Custom Queries & Joins (게시판별 커스텀 쿼리 및 조인)
You can customize query building (such as adding custom leftJoin, where, and addSelect) for specific boards without overriding the package's controllers by implementing Pondol\Bbs\Contracts\BbsQueryCustomizer.
1. Create a Query Customizer
Create a class in your app (e.g., App\Services\BbsQueryCustomizer.php):
2. Register the Customizer
Bind your class in App\Providers\AppServiceProvider.php:
📂 Skin Customization (스킨 커스터마이징)
Laravel Board fully supports Laravel's native Vendor View Overriding.
To customize templates, publish the views:
Templates will be copied to resources/views/vendor/bbs/templates.
- Zero Configuration: If uncustomized, the package automatically falls back to its built-in default skins.
- Pinpoint Customization: You only need to keep the files you modified in
resources/views/vendor/bbs/templates/user/{skin}/. Unmodified templates can safely be deleted from your Git repository. - Add Custom Skins: Create a folder inside
resources/views/vendor/bbs/templates/user/your-skin-name, and it will automatically appear in the admin board configuration selector.
🛠 SEO & Meta Data Customization
Laravel Board supports dynamic metadata management through Pondol\Meta. You can customize metadata by implementing a custom Resolver.
1. Create a Custom Meta Resolver
Create a class implementing Pondol\Bbs\Contracts\BbsMetaResolver:
2. Register the Resolver
Bind your custom class in App\Providers\AppServiceProvider.php:
📜 License
The MIT License (MIT). Please see License File for more information.
All versions of laravel_board with dependencies
wangta69/php-thumbnail Version ^1
wangta69/laravel-pondol Version ^8.12
wangta69/laravel-editor Version *
wangta69/laravel-auth Version ^8.12
wangta69/laravel-components Version *
wangta69/laravel-meta Version ^8.12