Download the PHP package nicklas/comment without Composer

On this page you can find all versions of the php package nicklas/comment. 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 comment

Build Status CircleCI Scrutinizer Code Quality Code Coverage Build Status SensioLabsInsight Gitter

Comment Module for Anax

This is a comment module for the Anax framework. This README.md assumes you have a decent knowledge of the Anax-framework.

Why use this module?

Well, maybe you are a front-end developer who's building an anax app and can't really bother with the backend stuff. Well this is prebuilt for you, so you can style the default views and use data from modules to create new ideas and pages with the data.

We've added some jquery in the views, so you can get some Ajax in the questions views, but it's optional to use.

What does it contain?

  1. Login System (users,admins)
  2. Questions and Answers System.
  3. Comment System
  4. Prebuilt HTMLForms

Setup

Let's get started. You can use composer to install the package, then we will integrate the module with your Anax.

Install with composer

Router files

  1. Copy the config/route/comment catalog and paste it in your own Anax installation.
  2. Copy code in the config/route.php and paste it in your own config/route.php.

DI-container

Copy everything that lies in the config/di.php and paste it in your own DI-container. Also make sure that you add any dependency that you might not added already.

Also don't be surprised that we're adding a renderpage class, since this module uses it's own renderpage functions, therefore we need to add them in our DI.

Database

Use the SQL-code in the src/Comment/sql/setup.sql to setup your database.

You'll need a config/database.php file. In other words, you'll need a normal setup for anax\database. If you already have a file, then you can use that one.

Views

In /views you'll find the views for the module. You can copy them and paste it in own Anax installation. Then you can style them for your own website.

PageRender

I recommend that you copy the src/page into your own and that to the commentFrontController in your DI, so you have better control of this part.

Add more?

You can use use class() if you want to make your own Pagerenders with the modules.

License

This software carries a MIT license.


All versions of comment with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
anax/configure Version ^1.0
anax/di Version ^1.0
anax/page Version ^1.0
anax/response Version ^1.0
anax/request Version ^1.0
anax/router Version ^1.0
anax/session Version ^1.0
anax/textfilter Version ^1.0
anax/url Version ^1.0
anax/view Version ^1.0
anax/htmlform Version ^1.0
anax/database Version ^1.1
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 nicklas/comment contains the following files

Loading the files please wait ....