Download the PHP package mrstroz/yii2-wavecms-news without Composer

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

yii2-wavecms-news

News module for Yii 2 WaveCMS.

Please do all install steps first from Yii 2 WaveCMS.

Installation

The preferred way to install this extension is through composer.

Run

or add

to the require section of your composer.json file.

Required

  1. Update backend/config/main.php (Yii2 advanced template)

Form views can be overwritten by backend themes;

  1. Update frontend/config/main.php (Yii2 advanced template)

  2. Run migration

Add the migrationPath in console/config/main.php and run yii migrate:

Or run migrates directly

Overriding classes

Classes can be overridden by:

  1. classMap attribute for WaveCMS module

  2. Yii2 Dependency Injection configuration in backend/config/main.php

Overriding controllers

Use controllerMap attribute for WaveCMS module to override controllers

Overriding views

Use themes for override views

Usage in frontend

News

  1. Add new rules to your urlManager. You can do it in one of your Bootstrap classes

  2. Get list of news on overview page

  3. Display news in view 'index.php'

  4. Get requested news by link in detail action

Meta tags

See yii2-wavecms-metatags

Add news to sitemap

According to Sitemap module, we need to add behaviour to our AR model and then add model to sitemap module configuration (see frontend/config/main.php)

Used packages

  1. CKEditor https://github.com/MihailDev/yii2-ckeditor
  2. ElFinder https://github.com/MihailDev/yii2-elfinder
  3. Slugify https://github.com/powerkernel/yii2-slugify
  4. Select2 https://github.com/kartik-v/yii2-widget-select2
  5. Datepicker https://github.com/kartik-v/yii2-widget-datepicker
  6. Switch widget https://github.com/2amigos/yii2-switch-widget
  7. Sitemap - https://github.com/himiklab/yii2-sitemap-module

INWAVE LOGO
INWAVE - Internet Software House
inwave.eu


All versions of yii2-wavecms-news with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
yiisoft/yii2 Version ~2.0.6
powerkernel/yii2-slugify Version *
kartik-v/yii2-widget-datepicker Version @dev
2amigos/yii2-switch-widget Version ~1.0
himiklab/yii2-sitemap-module Version *
mrstroz/yii2-wavecms Version *
mrstroz/yii2-wavecms-metatags Version ~0.2.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 mrstroz/yii2-wavecms-news contains the following files

Loading the files please wait ....