Download the PHP package asatirsen/forum without Composer

On this page you can find all versions of the php package asatirsen/forum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package forum

Build Status

Scrutinizer Code Quality

Code Coverage

Build Status

Code Intelligence Status

Anax module for questions, answers and comments

This module can be incorporated with the Anax framework to provide a forum for asking questions, answering questions and commenting.

To install

In your composer.json do:

    composer require asatirsen/forum

Integrate the module

From the root of your Anax repo run:

Simply run:

bash vendor/asatirsenforum/.anax/scaffold/postprocess.d/100_forum.bash

Or manually:

Copy the configuration files

rsync -av --exclude navbar --exclude page.php vendor/asatirsen/forum/config ./

Copy the view

rsync -av vendor/asatirsen/forum/view ./

copy the src directory

rsync -av vendor/asatirsen/forum/src ./

copy the sql directory

rsync -av vendor/asatirsen/forum/sql ./

create databases

sqlite3 data/db.sqlite < sql/ddl/user_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/tag_question_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/question_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/answer_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/tag_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/comment_sqlite.sql

Update your navigation:

Add Forum to your navbar via config/navbar/header.php and via config/navbar/responsive.php

You will need to insert the following lines of code into the items-key in the above files.

    [
        "text" => "Forum",
        "url" => "forum",
        "title" => "Första sidan, börja här.",
    ],
    [
        "text" => "Logga in",
        "url" => "user/login",
        "title" => "Logga in.",
    ],
    [
        "text" => "Frågor",
        "url" => "question",
        "title" => "Frågor",
    ],
    [
        "text" => "Taggar",
        "url" => "tag",
        "title" => "Taggar",
    ],
    [
        "text" => "Om",
        "url" => "about",
        "title" => "Om denna webbplats.",
    ],

All versions of forum with dependencies

PHP Build Version
Package Version
Requires anax/anax-ramverk1-me Version ^1.0.0
anax/htmlform Version ^2.0
anax/database-active-record Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package asatirsen/forum contains the following files

Loading the files please wait ....