Download the PHP package wisembly/silexcms without Composer

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

SilexCMS

About

This project aims to provide a minimal toolset helping to create corporate websites. Using Silex as primary framework, it includes multiple shorthand classes.

Version

0.1.0

Examples

We use SilexCMS for our coroporate website. You could see it live at wisembly.com and have a look to github.com/wisembly/wisembly

Documentation

Pages

There is two kind of web pages : statics and dynamics.

Static pages does not rely on anything else than their templates. Dynamic ones take parameters in their urls, fetch a table, then render the specified template, storing the resulting objects in an accessible variable.

Static Page

Dynamic Page

DataSets

Datasets are an easy and handy way to retrieve database data directly in your Twig templates. First, register your available DataSets for your application:

Then, use them in your Twig templates:

KeyValueSets

KeyValueSets are an easy and handy way to retrieve from your database key => values sets in your Twig templates. They work like DataSets above, but allows to access values differently in your templates.

For the following set:

In your template you could then use:

Foreign Twig extension

SilexCMS provides a Twig Extension to retrieve easily a particular object by id reference inside a DataSet

First, load Foreign Key Extension

Then, use it that way in your Twig Templates:

Security

The security classes give a very simple way to identifying some users.

When instanciating a Firewall, you will only have to provide a name and an array containing your users authentification infos (where the key will be their usernames and values are plain text passwords). A logger instance will be automagically created in the app[name] variable.

From then, you can use this logger to check current user state or change it.

Manual example

Request example

You can also bind requests if they have at least two parameters : _username and _password.

startup.php
login.html.twig

License

SilexCMS is licensed under the MIT license.


All versions of silexcms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
doctrine/dbal Version 2.2.*
silex/silex Version ~1.0.0
symfony/form Version 2.1.*
symfony/twig-bridge Version 2.1.*
twig/extensions Version 1.0.*
symfony/browser-kit Version 2.2.*
symfony/translation Version 2.1.*
symfony/config Version 2.1.*
symfony/yaml Version 2.1.*
symfony/validator Version 2.1.*
twig/twig Version >=1.8,<2.0-dev
knplabs/console-service-provider Version dev-master#1f1a331
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 wisembly/silexcms contains the following files

Loading the files please wait ....