PHPackages                             prawee/silex-gae - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. prawee/silex-gae

ActiveSilex-gae[API Development](/categories/api)

prawee/silex-gae
================

Create project with Silex for deploy to GAE

04PHP

Since Oct 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/prawee/silex-gae)[ Packagist](https://packagist.org/packages/prawee/silex-gae)[ RSS](/packages/prawee-silex-gae/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Create project with Silex
=========================

[](#create-project-with-silex)

### Create folder

[](#create-folder)

```
$ cd /var/www
$ mkdir silex-gae
$ cd silex-gae
```

### Create package.json

[](#create-packagejson)

```
$ npm init
# package name: (silex-gae) **enter
# version: (1.0.0) **enter
# description: **Create project with Silex for deploy to GAE
# entry point: (index.js) **index.php
# test command: **enter
# git repository: **https://github.com/prawee/silex-gae.git
# keywords: **GAE,Silex,RESTFul, API
# author: **Prawee Wongsa
# license: (ISC) **MIT
# {.....}
# Is this ok? (yes) **yes
```

### Installation Silex with Composer

[](#installation-silex-with-composer)

```
$ composer require silex/silex:~2.0
# ./composer.json has been created
# Loading composer repositories with package information
# Updating dependencies (including require-dev)
# ...waiting..
# Writing lock file
# Generating autoload files
```

### Create bootstrap file

[](#create-bootstrap-file)

```
# nano index.php
```

```
