Simple PHP Forum system for developers.
Branch: staging
Clone or download
Latest commit 7bf9572 Apr 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Prepare to release and test Oct 1, 2015
cache Notifications Mar 18, 2016
docs Update security.md Apr 4, 2016
etc Test for ClearDB Apr 3, 2016
logs First commit Sep 28, 2015
media Max img width Apr 4, 2016
resources Bug fixes Apr 4, 2016
src Rename Apr 4, 2016
templates MISC update Apr 2, 2016
test Prepare to release and test Oct 1, 2015
tmp First commit Sep 28, 2015
.gitattributes Update .gitattributes Apr 6, 2016
.gitignore MISC update Apr 2, 2016
.htaccess Prepare to release and test Oct 1, 2015
README.md Update README.md Apr 6, 2016
composer.json install script Apr 2, 2016
composer.lock no message Apr 5, 2016
dev.php
index.php Prepare to release and test Oct 1, 2015
natika MISC update Mar 18, 2016
phpunit.xml.dist First commit Sep 28, 2015
robots.txt Prepare to release and test Oct 1, 2015
web.config Bug fixes Apr 4, 2016

README.md

Natika Forum Analytics

Join the chat at https://gitter.im/asika32764/natika Latest Stable Version Total Downloads Latest Unstable Version License

p-2016-04-02-001

Simple PHP Forum system for developers.

Installation

Via Composer

composer create-project asika/natika natika *

cd natika/

After composer installed, Natika will help you set some basic settings to enable site and create admin user.

Via Git

If you want to use git to keep Natika update to newest version, you can use git to install Natika.

git clone git@github.com:asika32764/natika.git

cd natika/

composer install

Then copy etc/secret.dist.yml to etc/secret.yml and open it to fill database account.

Other Commands

If you want to test with fake data, you can add seeders by

php natika migration reset --seed

Create a new admin user

php natika create-user

Getting Started

Use your root user to login Natika. You can create category by click New Category button.

p-2016-04-02-002

Fill category information, icon uses Font Awesome classes.

p-2016-04-02-003

p-2016-04-02-004

If you want to use image as category icon, you must go to admin.

Create & edit topics.

p-2016-04-02-012

p-2016-04-02-014

p-2016-04-02-013

Admin

Go to http://{your.site}/admin, and login with admin account.

p-2016-04-02-005

Category Edit

p-2016-04-02-007

Article Edit

p-2016-04-02-009

Article will display on frontend top menu. If you fill the URL input, menu item will be an external link.

p-2016-04-02-010

You can drag & drop images to upload.

p-2016-04-02-008

Config

Open etc/secret.yml, there are some basic settings which you can change.

Site Metadata

natika:
    site_name: Natika
    metadata:
        description:
        'og:description':
        'og:image':
    banner:
        default: # Banner title
    theme: # Your custom theme

Mail Settings

mail:
    from:
        email: norply@domain.com
        name: Natika Forum
    transport: smtp # smtp / sendmail or php
    
    # SMTP setting
    host: mailtrap.io
    username:
    password:
    security: tls
    port: 2525

Cloud Image Storage

unidev:
    image:
        storage: s3 # s3 or imgur
        
        # Auto resize image
        resize:
            enabled: true
            width: 1200
            height: 1200
            crop: false
            quality: 85
            
    # API information
    amazon:
        key:
        secret:
        bucket:
        subfolder:
        endpoint: # Keep empty
        region: # Keep empty
    imgur:
        key:
        secret:

Customize Theme

See Customize Document

Social Login

See Social Login Document

Hide Source Files

If you want to create a /public folder to hide all source files. See Hide Source Files

Development

Natika based on these packages:

Natika provides package and event system to help develops create their plugins, but we need more test to release this feature, so there are no documentation about plugins currently, please wait for future inforamtion.