Download the PHP package samsoncms/template without Composer

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

SamsonCMS generic template module

Latest Stable Version Build Status Code Coverage Scrutinizer Code Quality Total Downloads Stories in Ready

This module is responsible for rendering base HTML template, its styles, icons and images.

All template styles is created with LESS, every entity has it .

This module should define HTML structure of SamsonCMS, its building blocks and entities which should be used in all other SamsonCMS modules and applications.

This template is basic and included in a SamsonCMS bootstrap, but can be easily changed by custom or modified once, the only limitation that must be met is template structure and its events, as all SamsonCMS ecosystem is based on this structure and entities.

Template is using Font-Awesome for all icons.

Events

All structure blocks have Events(http://github.com/samsonphp/event), and all their filling and rendering should be done via this events.

Template structure

This base SamsonCMS template structure can be defined as next:

Template menu structure

Index view is located , menu item view is located

Template sub-menu structure

Index view is located , menu item view is located

Menu events

Menu created event -

This event fires before generic menu rendering process has started. Before menu started default template menu item would be automatically added:

For rendering sub-menu section you need to fill in your event handler.

Menu rendered event -

This event fires when all menu inner items has been rendered into main container.

Menu event handler example

This is a modified old approach menu & sub-menu render integrated via new menu events

Template container structure

All elements inside container must be inside

Template container form structure

Container events

Main page created event -

This event fires before main page rendering process has started.

Main page rendered event -

This event fires when main page has been rendered into main container.


All versions of template with dependencies

PHP Build Version
Package Version
Requires samsonphp/less Version *
samsonos/php_core Version *
samsonos/php_i18n Version *
samsonos/js_core Version *
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 samsoncms/template contains the following files

Loading the files please wait ....