Download the PHP package xing.chen/yii-article without Composer

On this page you can find all versions of the php package xing.chen/yii-article. 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 yii-article

article

文章管理系统,目前支持Yii框架,其他框架如果有做开发的话会进行开发

包含

api:文章列表、内容获取、栏目获取

前台:文章列表和内容、栏目的输出

后台:文章增删查改,栏目管理

安装

1、获取扩展插件

2、导入数据结构

3、图片上传配置

单/多文件上传控件配置

将以下配置复制插入至common/config/params.php (插件地址:https://packagist.org/packages/xing.chen/webuploader)

3、配置模块到main.php
文件上传配置

(插件地址:https://packagist.org/packages/xing.chen/upload

yii 框架中使用

很简单,只要在控制器中继承文章系统就可以了,随便你用什么文件夹或模块名

但是前台由于涉及url输出,目前url规则是固定的

前台控制器:

使用下面的代码就可以输出视图了,视图模板的位置和平常的yii开发一样

后台控制器

后台视图设置

增加管理菜到后台

本功能需要配合xing.chen/yii-ace使用,如果您后台不是使用它,那么这一步就跳过

api控制器

多语言配置

在params.php里增加以下参数以启用多语言


All versions of yii-article with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
xing.chen/helper Version ~1.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 xing.chen/yii-article contains the following files

Loading the files please wait ....