Download the PHP package fiachehr/laravel-comments-pro without Composer

On this page you can find all versions of the php package fiachehr/laravel-comments-pro. 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-comments-pro

Laravel Comments Pro

A comprehensive, feature-rich comments system for Laravel applications with support for nested comments, reactions, guest users, and advanced moderation features.

๐Ÿ“– Documentation (fiachehr.ir)

Full guide with examples and IDE-style code blocks: Laravel Comments Pro โ€” Documentation

๐Ÿ“‹ Requirements

PHP Version

Laravel Version

Compatibility Matrix

PHP Version Laravel 10.x Laravel 11.x Laravel 12.x
8.1 โœ… Supported โ€” โ€”
8.2 โœ… Supported โœ… Supported โœ… Supported
8.3 โœ… Supported โœ… Supported โœ… Supported
8.4 โœ… Supported โœ… Supported โœ… Supported

Laravel 11 and 12 require PHP 8.2 or higher. Use PHP 8.1 only with Laravel 10.

Framework Dependency

โš ๏ธ This package is Laravel-specific and requires:

Not compatible with other frameworks (Symfony, CodeIgniter, etc.)

โœจ Features

๐Ÿ“ฆ Installation

Prerequisites

Before installing, ensure you have:

1. Install via Composer

Note: This package requires Laravel framework and is not compatible with other PHP frameworks.

2. Publish and Run Migrations

3. Publish Configuration

๐Ÿš€ Quick Start

1. Add Trait to Any Model

2. Create Comments

3. Approve Comments

4. Add Reactions

5. Get Comments as Tree

โš™๏ธ Configuration

Comments Configuration

Per-model settings are not defined on the trait; adjust behavior in config/comments.php (or override config per environment).

๐Ÿ”ง Advanced Usage

Service Classes

Events

Scopes and Relationships

Bulk Operations

๐ŸŽฏ API Examples

Controller Implementation

Request Validation

๐Ÿงช Testing

Run Tests

Using with Laravel Artisan

If you want to use php artisan test in your Laravel project, add this to your phpunit.xml:

Then run: php artisan test --testsuite=Comments

Test Results

๐Ÿ”’ Security Features

๐ŸŽจ Frontend Integration

Vue.js Example

React Example

๐Ÿš€ Performance Optimization

Database Indexing

Caching

Eager Loading

๐Ÿ”ง Troubleshooting

Common Issues

  1. Compatibility Issues

  2. Migration Errors

  3. Factory Not Found

  4. Event Not Firing

  5. Framework Compatibility

Debug Mode

๐Ÿ“ˆ Monitoring

Analytics

Health Checks

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license.

๐Ÿ†˜ Support

๐Ÿ™ Acknowledgments


Made with โค๏ธ by Fiachehr


All versions of laravel-comments-pro with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/events Version ^10.0|^11.0|^12.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 fiachehr/laravel-comments-pro contains the following files

Loading the files please wait ...