Download the PHP package cmsgears/template-blog without Composer

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

CMSGears Blog Template


Yii

CMSGears Blog Template is a skeleton CMSGears application best for developing CMSGears based web applications utilizing the core modules including Core, Forms, CMS, Newsletter, Notify, and SNS Connect.

The template includes four tiers: REST, frontend, backend, and console, each of which is a separate Yii application.

The template is designed to work in a team development environment. It supports deploying the application in different environments.

The Blog Template is tailored to develop small and medium web applications and support mobile applications without needing complex modules including Module CMS, Module Community, etc. In case you need starter template without CMS, kindly look at Basic Template.

DIRECTORY STRUCTURE

Modules, Plugins, and Widgets

  1. It's pre-installed with the Core, Forms, CMS, Newsletter, Notify, SNS Connect, and SMS modules.
  2. It's pre-installed with the Assets, Breeze Templates, File Manager, Social Meta, and Icon Picker plugins.
  3. The widgets that ships by-default with the blog template includes CLEditor, TinyMCE, Comment, Block, Nav, Club, Elements, Login, Gallery, Newsletter, Form, AJAX Form, Tag, Category, Social, Pop-up, and Grid.
  4. It's also pre-installed with the FoxSlider Plugin for CMSGears.
  5. Apart from the modules, plugins, and widgets specified in points 1 to 3, the template is also configured for several 3-rd party assets including conditionizr, moment, chart.js, etc.

Themes

  1. The Admin Theme provide layouts to manage and configure the modules and plugins.
  2. The template is pre-configured to use the Blog Theme for front end.

Template Details

The Blog Template is a group of directories and configuration files used to manage the backend, frontend, console, and REST applications.

It also provide the migration scripts with test data.

Template Demo

  1. Frontend - https://demo.cmsgears.com/templates/blog ([email protected], test#123)
  2. Admin - https://demo.cmsgears.com/templates/blog/admin ([email protected], test#123)

Real time emails are disabled on demo sites and the database reset is done every hour.

Template Installation

The Blog Template can be installed via composer using the below mentioned command. To install composer, please refer to the official site https://getcomposer.org.

We can install release and pre-release i.e. alpha, beta versions using composer as mentioned below.

We can also use below mentioned commands to access the pre release code.

In case the web server is Apache, either of the above mentioned commands can be run directly at Apache web root directory. More details can be found at http://www.cmsgears.org.

We can also directly install the template having latest code by cloning Blog Template using the selected branch.

One Click Setup

We are working on making a one click setup which can avoid most of the steps as listed below to configure the template.

Template Configuration

  1. Create the database, database user and update the environments configuration - environments/dev/common/config/main-env.php, environments/alpha/common/config/main-env.php, environments/prod/common/config/main-env.php. The default database and database user are basicdemo.
  2. To trigger real-time mails in dev or alpha environments, remove the config param 'useFileTransport' from - environments/dev/common/config/main-env.php, environments/alpha/common/config/main-env.php.
  3. After configuring the database, run the php script init.php to initialize the application for the predefined environments. The script will ask to choose environment among prod, alpha or dev. It will copy the appropriate environment files to the relevant directories.
  4. Install the DB using the migrate-up commands available in the console/migrations directory. The command must be run from the root directory of the project. Also make sure that the migration command files have executable permissions.
  5. The migration scripts available at console/migrations/data directory ships with the test data required for demonstration purpose. It can be tweaked or updated based on the requirements. Make sure to execute the migrate-down command before making changes. Once done, again execute the migrate-up command to bring up the changes.
  6. Update htaccess located at the root directory based on your web server needs. More details about live application settings can be found at http://www.cmsgears.org.
  7. Download the Admin and Blog Themes and copy the themes content at