Download the PHP package cinghie/yii2-articles without Composer

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

Yii2 Articles

License Latest Stable Version Latest Release Date Latest Commit Total Downloads

Yii2 Articles to create, manage, and delete articles in a Yii2 site.

Installation

The preferred way to install this extension is through composer.

Either run

or add

Configuration

1. Images folder

Copy img folder to your webroot

2. Update yii2 articles database schema

Make sure that you have properly configured db application component.
Make sure that you have an user with id=1.
Run the following command:

3. Set configuration file

Set on your configuration file, in modules section

4. Other Configurations

To use easily this extension is strongly recommended install and config dektrium/yii2-user to manage user

Installation
Configuration

and dektrium/yii2-rbac to manage auth permission

Installation

5. Add your User as admin

Override PREFIX_ with your tables prefix and YUOR_USER_ID with your user_id. For example:

Advanced Template Recommended Configuration

Advanced Template recommended configuration

URL Rules

Filters

If you have a Yii2 App Advanced (frontend/backend) you can exclude frontend actions

Overrides

Override controller example, on modules config

Override models example, on modules config

Override view example, on components config

Override examples can be found on overrides folder

Users Auth

Articles Permissions

create publish update delete index view
admin yes all all all yes yes
editor yes all all his yes yes
publisher yes his his no his yes
author yes no his no his yes

Categories Permissions

create publish update delete index view
admin yes yes yes yes yes yes
editor yes no yes no yes yes
publisher no no no no yes yes
author no no no no yes yes

Tags Permissions

create publish update index delete
admin yes yes yes yes yes
editor yes yes yes yes yes
publisher yes yes yes yes no
author yes no no no no

Users Types

The migrations add to the database 4 types of users:

  1. Admin:
    • Can Create Categories
    • Can Publish Categories
    • Can Delete Categories
    • Can Update Categories
    • Can Index Categories
    • Can Create Articles
    • Can Publish all Articles
    • Can Update all Articles
    • Can Delete all Articles
    • Can Index all Articles
    • Can View all Articles
    • Can Create Tags
    • Can Publish Tags
    • Can Delete Tags
    • Can Update Tags
    • Can Index Tags
  2. Editor:
    • Can Create Categories
    • Can't Publish Categories
    • Can't Delete Categories
    • Can Update Categories
    • Can Index Categories
    • Can Create Articles
    • Can Publish his Articles
    • Can Update all Articles
    • Can Delete his Articles
    • Can Index Articles
    • Can View all Articles
    • Can Create Tags
    • Can Publish Tags
    • Can Delete Tags
    • Can Update Tags
    • Can Index Tags
  3. Publisher:
    • Can't Create Categories
    • Can't Publish Categories
    • Can't Delete Categories
    • Can't Update Categories
    • Can Index Categories
    • Can Create Articles
    • Can Publish his Articles
    • Can Update his Articles
    • Can Delete his Articles
    • Can Index his Articles
    • Can View all Articles
    • Can Create Tags
    • Can Publish Tags
    • Can Update Tags
    • Can Index Tags
  4. Author:
    • Can't Create Categories
    • Can't Publish Categories
    • Can't Delete Categories
    • Can't Update Categories
    • Can Index Categories
    • Can Create Articles
    • Can't Publish his Articles
    • Can Update his Articles
    • Can't Delete Articles
    • Can't Index Articles
    • Can View Articles
    • Can Create Tags

LINKS


All versions of yii2-articles with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ~2.0.14
cinghie/yii2-seo-component Version @dev
cinghie/yii2-traits Version @dev
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 cinghie/yii2-articles contains the following files

Loading the files please wait ....