Download the PHP package lakm/laravel-comments-admin-panel without Composer

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

# Commenter Admin Panel ***Admin panel for the [commenter](https://github.com/Lakshan-Madushanka/laravel-comments)*** [Description](#description) | [Requirements](#requirements) | [Installation](#installation) | [Usage](#usage) | [Config](#config) | [Authoriztion](#authorization) | [Models Discovery](#models-discovery) | [Route](#route) | [Customization](#customization) | [Changelog](#changelog) | [Security](#security) | [License](#license) [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Lakshan-Madushanka/laravel-comments-admin-panel/tests.yml)](https://github.com/Lakshan-Madushanka/laravel-comments-admin-panel/actions?query=workflow%3ATests+branch%3Amain) [![Packagist Version](https://img.shields.io/packagist/v/lakm/laravel-comments-admin-panel)](https://packagist.org/packages/lakm/laravel-comments-admin-panel) [![GitHub License](https://img.shields.io/github/license/Lakshan-Madushanka/laravel-comments-admin-panel)](https://github.com/Lakshan-Madushanka/laravel-comments-admin-panel/blob/main/LICENSE.md)

Description

Provides an ideal admin panel to manage the Commenter package.

Requirements

Installation

Optional

You can publish views using below command.

Usage

All you need to do is navigate to the package's default route end point /admin/comments/dashboard

Config

Config file is published as comments-admin-panel.php in the config directory.

If it is missing, you can re-publish it using the command below.

This will publish following config file

Authorization

By default, routes are enabled if it is not in production environment. You can change this behaviour by setting enabled variable to false in the config file.

`

Production

Before deploying to production (in production mode), the canAccessAdminPanel method must be implemented in the auth model; otherwise, you will receive a 404 status. This behaviour is handled by the AdminPanelAccessMiddleware::class middleware.

[!Note] Don't forget to set 'enabled' => true in the config file.

Models Discovery

By default, package scan all the commentable models in App/Models namespace. You can change this behaviour by explicitly defining models you want admin panel to track.

Route

You can access to the admin panel visiting default route end point /admin/comments/dashboard

Prefix

By default, admin prefix is added to package's routes you can change it as following example.

Middlewares

By default, web and AdminPanelAccessMiddleware::class middlewares are applied you can change it as following example.

Customization

You can customize all the views by publishing them using below commands,

This will publish views to the \resources\views\comments-admin-panel directory.

Assets

Package's install command comments-admin-panel:install, publish assets to the \public\vendor\lakm\comments-admin-panel directory.

Here is the command to publish them manually.

Build assets

You can build assets using any assets building tool. By default, package has used laravel vite plugin. Make sure to use right build directory public\vendor\lakm\comments-admin-panel\build

[!Important] When building assets the re should be only one input file and that is should be app.js. You can do that as following using vite.

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

Please see here for our security policy.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-comments-admin-panel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
lakm/laravel-comments Version 1.*
laravel/framework Version ^10.0|^11.0
filament/notifications Version ^3.2
filament/tables Version ^3.2
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 lakm/laravel-comments-admin-panel contains the following files

Loading the files please wait ....