Download the PHP package riari/laravel-forum without Composer

On this page you can find all versions of the php package riari/laravel-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 laravel-forum

Tests phpcs Packagist Downloads Packagist License

Complete documentation is available on teamteatime.net.

Versions

Laravel version Package version PHP version
11 ^6.0 ^8.2
10 ^5.5 ^8.1

Please note that older package versions not listed above are no longer maintained or supported.

See the support policy in the Laravel docs for more information about Laravel release versions, their supported PHP versions, and how long they receive bug & security fixes.

Installation

Step 1: Install the package

Install the package via composer:

Package Discovery should take care of registering the service provider automatically, but if you need to do so manually, add the service provider to your bootstrap/providers.php:

Step 2: Publish the package files

Run the vendor:publish command to publish the package config, translations and migrations to your app's directories:

php artisan vendor:publish

Step 3: Update your database

Run your migrations:

php artisan migrate

Step 4: Install a UI preset

A forum:preset-install {name} command is available for installing UI presets. Run forum:preset-list to see a list of available presets. You must install one of these to publish the corresponding views to your application. For example:

php artisan forum:preset-install livewire-tailwind

[!NOTE]
By default, the livewire-tailwind preset is set as the active one in the forum.frontend.preset config value. This preset requires Livewire and a few other dependencies. Refer to UI Presets for details.

Additional steps

Configuration

Several configuration files are published to config/forum. Refer to these for a variety of options for changing the behaviour of the forum and how it integrates with key parts of your application code.

[!NOTE]
You may need to modify the forum.integration.user_name config option according to your user model. This specifies which attribute on the user model should be used as a display name in the forum views.

Translations

Laravel Forum currently supports 15 languages: German, English, Spanish, French, Italian, Dutch, Romanian, Russian, Thai, Turkish, Serbian, Portuguese (Brazil), Swedish, Chinese, and Indonesian. The translation files are published to resources/lang/vendor/forum/{locale}.

[!NOTE]
Some new language strings have been introduced in version 6 but not yet translated; PRs to translate these would be greatly appreciated.

Development

If you wish to contribute, an easy way to set up the package for local development is Team-Tea-Time/laravel-studio, which is set up to load a local working copy of this repository (see the readme for usage details).

Running tests

Bring up the MySQL service:

Install Composer dependencies:

Run the phpunit container to execute tests:

Seeding

The package tables can be seeded with sample categories, threads, posts, and a user via forum:seed:


All versions of laravel-forum with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^11.0
kalnoy/nestedset Version ^6.0
doctrine/dbal Version ^4.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 riari/laravel-forum contains the following files

Loading the files please wait ....