Download the PHP package crazedsanity/cs-content without Composer

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

CS Content System (Templating / MVC Framework)

Build Status

Generic MVC-style framework designed to leverage the power of a templating system and PHP includes, all running through a single display script. Allows incredibly fast building of an intelligent website without having to write a script for every page. Separate HTML from code, intelligently build pages using path-based script and template inheritance.

NOTICE

CS-Content is being broken down into a series of smaller libraries, installable via Composer + Packagist. The list of packages:

HOW THE SYSTEM WORKS:::

TEMPLATE FILES:

Automatically loads templates based on the URL, and optionally includes scripts in the includes directory.

MAIN SECTION:

For the main section, i.e. "/content", it requires a template in a directory of that name beneath /templates, with a file called "index.content.tmpl"... i.e. /templatee/content/index.content.tmpl.

SUB SECTIONS:

For any subsection to be valid, i.e. "/content/members", it must have an associated template, e.g. "/templates/content/members.content.tmpl". If a subdirectory with an index.content.tmpl file exists, it will be used instead of the file in the sub directory (i.e. "/templates/content/members/index.content.tmpl").

SUB SECTION TEMPLATE INHERITANCE:

All pages load the base set of "shared" templates, which are in the form "

.shared.tmpl" in the root of the templates directory. Shared files within each directory, in the form "
.shared.tmpl", will be loaded for ANY subsection.

For any subsection, it inherits a previous section's templates in the following manner (any "content" templates are ignored for inheritance, as they're require for page load).

/content                            ---> /templates/content/index.*.tmpl

/content/members                    |--> /templates/content/index.*.tmpl
                                    `--> /templates/content/members.*.tmpl

/content/members/test               |--> /templates/content/index.*.tmpl
                                    |--> /templates/content/members.*.tmpl
                                    |--> /templates/content/members/index.*.tmpl
                                    `--> /templates/content/members/test.*.tmpl

AUTOMATIC INCLUDES:

Much in the same way templates are included, so are scripts, from the /includes directory, though the logic is decidedly simpler: all scripts must have the extension of ".inc", and must have either the section's name as the first part of the filename, or "shared". Shared scripts will be loaded for ALL subsections.

INCLUDES INHERITANCE:

The template inheritance scheme is as laid-out below. The content system will go as far into the includes directory as it can for the given section, regardless of if any intermediate files are missing.

It is important to note that the content system will NOT regard a section as valid if there are include scripts but no templates.

/content                            |--> /includes/shared.inc
                                    `--> /includes/content.inc

/content/members                    |--> /includes/shared.inc
                                    |--> /includes/content.inc
                                    |--> /includes/content/shared.inc
                                    `--> /includes/content/members.inc

/content/members/test               |--> /includes/shared.inc
                                    |--> /includes/content.inc
                                    |--> /includes/content/shared.inc
                                    |--> /includes/content/members.inc
                                    |--> /includes/content/members/shared.inc
                                    `--> /includes/content/members/test.inc

License

Copyright (c) 2013 "crazedsanity" Dan Falconer Dual licensed under the MIT and GPL Licenses.


All versions of cs-content with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
crazedsanity/version Version ~0.2
crazedsanity/filesystem Version ~0.3
crazedsanity/session Version ~0.1
crazedsanity/template Version ~0.4
crazedsanity/dbsession Version ~0.1
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 crazedsanity/cs-content contains the following files

Loading the files please wait ....