2017 © Pedro Peláez
 

library silex-template

A small silex template for scalable web application

image

lracicot/silex-template

A small silex template for scalable web application

  • Friday, February 9, 2018
  • by lracicot
  • Repository
  • 1 Watchers
  • 4 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

WARNING: The end of life of Silex has been set for June 2018. This package will be no longer maintained. Please use Symfony 4., (*1)

Silex Template

This Silex template has been written to shorten the setup process of a new Silex Application., (*2)

Pre-installation

You will need the following program installed in your computer:, (*3)

Installation

Create your project:, (*4)

composer create-project lracicot/silex-template path/to/new/project

Go to your project:, (*5)

cd path/to/new/project

Setup your environment:, (*6)

cp .env.example .env

Change the values you need in the .env file., (*7)

Run the tests, (*8)

composer test

Start the server:, (*9)

php -S localhost:8000 -t web

Try it! http://localhost:8000, (*10)

Configuration

When you are deploying, there are a few configuration you might want to change. Here are the available configurations:, (*11)

ENVIRONMENT: Can be development, staging, testing or production_ (default: _development), (*12)

BASEURL: If you are running Silex in a subdirectory, you can change this. It will make the routes and the assets work., (*13)

What's included?

Libraries

Optional dependencies

The security bundle, (*14)

composer require symfony/security

The doctrine DBAL, (*15)

composer require doctrine/dbal

A doctrine ORM service provider, (*16)

composer require dflydev/doctrine-orm-service-provider

The Versions

09/02 2018
19/10 2016

0.1.2

0.1.2.0

A small silex template for scalable web application

  Sources   Download

The Requires

 

15/10 2016

0.1.1

0.1.1.0

A small silex template for scalable web application

  Sources   Download

The Requires

 

14/10 2016

0.1.0

0.1.0.0

A small silex template for scalable web application

  Sources   Download

The Requires