Download the PHP package aurmil/slim2-skeleton without Composer

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

Slim 2 Skeleton

What's included?

Installation

Required: Composer

Run the following command, replacing [your-project-name] with the name of the folder you want to create.

Web server choice

This skeleton includes a .htaccess file for Apache.

Feel free to read the Slim documentation if your prefer to use another Web server like nginx.

Configuration

Application configuration is stored in /app/config.yml which is divided into 2 main parts: general settings and environment-specific settings.

Environment settings are grouped within sections. A section = an environment. Section name = value of ENVIRONMENT env variable (default = development).

General settings are merged with environment-specific settings. The latter ones overwrite the first ones.

Access config in PHP code

In /app/src/bootstrap.php, the whole configuration is in the $config variable.

In a controller action, only the App section of configuration is available through $app->config('app').

Access config in Twig template

Only the App section of configuration is in the config variable.

Application errors by email

By configuring __App.errors.send_email and App.errors.email__, you can enable or disable sending email with Monolog when an error occurs.

Meta tags

Every key: value pair you add under App.metas will be output in HTML head section as a meta tag.

Title

Page title is a special case. Obviously, title and __title_separator__ entries won't be output as meta tags like the other ones.

A page title is formed as follows:

License

The MIT License (MIT). Please see License File for more information.


All versions of slim2-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.0
roave/security-advisories Version dev-master
slim/slim Version ^2.6
slim/views Version ^0.1.3
twig/twig Version ~1.0
flynsarmy/slim-monolog Version ^1.0
symfony/yaml Version ~3.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 aurmil/slim2-skeleton contains the following files

Loading the files please wait ....