Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangta69/laravel_board
라라벨 게시판(BBS)
https://github.com/wangta69/laravel_board
bbs board composer laravel php
Last synced: about 2 months ago
JSON representation
라라벨 게시판(BBS)
- Host: GitHub
- URL: https://github.com/wangta69/laravel_board
- Owner: wangta69
- License: mit
- Created: 2017-12-15T02:04:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T04:31:22.000Z (2 months ago)
- Last Synced: 2024-11-27T05:24:52.342Z (2 months ago)
- Topics: bbs, board, composer, laravel, php
- Language: PHP
- Homepage: https://www.onstory.fun/doc/programming/laravel/package.laravelboard
- Size: 985 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Waht is pondol's Laravel Board
> 한국형 라라벨용 게시판 입니다.
현재 진행중인 프로젝트에 사용하려고 간단하게 만들고 테스트 중입니다.
> This package was tested on Laravel 8.x[공식문서](https://www.onstory.fun/doc/programming/laravel/package.laravelboard)
[Demo](https://www.onstory.fun/community)
[version 2.x installation](./documents/5.x.md)
[version 8.1.x installation](./documents/8.1.x.md)## Installation
> over ver 8.2
```
composer require wangta69/laravel-board
php artisan pondol:install-bbs
```## resources
- design : bootstrp 5.x
- jquery : 3.6.x## How to Use
### Set Security for Admin.
> After Install, Goto App/Http/Controllers/Bbs/Admin and you can find controllers for Admin.
Set Access Auth on __construct for security
```
if(!Auth::user()->hasRole('administrator')) => hasRole('Your Admin Role name')
```### Login To Admin
> Type url http://YourDomain/bbs/admin and Create What you want Bbs.
If you have rolls not yet, do 'php artisan make:model Role -m'### Create BBS
> You can make any bbs what you want
> After create bbs link for admin : http://YourDomain//bbs/admin/tbl/[table name]
> link for user : http://YourDomain//bbs/[table name]### functions
#### bbs_get_thumb
> realtime thumbnail generator
```
```
#### bbs_get_latest
> if you want some data to dispay from bbs, follow below explain
```
public function Anything()
{
$notice = bbs_get_latest(array('table'=>'notice', 'cnt'=>5));
}
```### Make Additional Template
Go to resources/views/bbs/templates And add a template like exist template### Forum
> if you have any article not bbs and you want add comment like forum, just insert below code
``````
- skin : currently only 'default' skin exist(i'm gonna add more skins)
- item : what you want (string type)
- itemId : this is important one, if you have many articles, you put itemId for every articles