当前位置:Gxlcms > PHP教程 > Git项目推荐|基于Laravel5.2的轻量级社区程序

Git项目推荐|基于Laravel5.2的轻量级社区程序

时间:2021-07-01 10:21:17 帮助过:18人阅读

Hifone

Hifone is a free, open-source, self-hosted forum software based on the Laravel PHP Framework.

Features

This package is currently in (very-)alpha stage, so all of the following features may or may not work yet. However, feel free to post issues and features requests here . We will try to fix and improve the package as fast as we can based on your help!

  • Fast and simple
  • Beautiful and responsive
  • Roles & Permissions
  • Markdown & Emoj
  • Image upload
  • Avatars
  • Notifications
  • RSS Feeds
  • Localization: language files, time zone and UTF-8 support

Requirements

There are a few things that you will need to have set up in order to run Gitamin:

  • A web server: Nginx , Apache (with mod_rewrite), or Lighttpd
  • PHP 5.6.4+ with the following extensions: mbstring, pdo_mysql
  • MySQL or PostgreSQL
  • Composer

Installation

By default Hifone comes with a .env.example file. You'll need to rename this file to just .env regardless of what environment you're working on.

If you're using SQLite then your .env file should not contain a DB_HOST key. You'll also need to touch ./database/hifone.sqlite and give it the required permissions.

Directories within the storage and the bootstrap/cache directories should be writable by your web server or Hifone will not run.

Step 1: Shell

git clone https://github.com/Hifone/Hifonecd Hifonecp .env.example .envvi .env  # write database settingscomposer install --no-dev -ophp artisan hifone:installchmod -R 777 storagechmod -R 777 bootstrap/cache

Step 2: Browser

Now go to http://your_site_domain/ and have fun!

Development

These extra dependencies are required to develop Hifone:

  • Node.js
  • Bower
  • Gulp
npm installbower installgulp

If you're making a lot of changes, you'll find that running gulp watch will really help you out!

Demo

Hifone website .

License

Hifone is open-sourced software licensed under the MIT license

人气教程排行