agvstin / phootstrap
PHP application template (silex + redbean + twig + bootstrap)
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.3.0
- gabordemooij/redbean: 3.*
- monolog/monolog: 1.*
- silex/silex: 1.0.*
- symfony/translation: 2.2.*
- twig/twig: 1.*
This package is not auto-updated.
Last update: 2024-11-09 14:40:05 UTC
README
phootstrap is a php application template.
About
This template provides a project skeleton to write small php applications and prototypes. It uses the following awesome libraries:
composer
-- The fabolous package installersilex
-- A small, fast and extensible web frameworkredbeanphp
-- Dead simple ormtwig
-- Easy to use template engine
Get started
If you haven't installed composer, do it now (visit composer website for more instructions):
curl -sS https://getcomposer.org/installer | php
You can install phootstrap using composer:
composer.phar create-project agvstin/phootstrap --stability=dev
or directly from GitHub:
# clone this repo
git clone git://github.com/agvstin/phootstrap.git myapp
cd myapp
# start your own repo
rm -rf .git
git init .
git add .
git commit -m "Initial import from phootstrap"
# install vendors
composer.phar install
Copy the config file
# copy parameters file (and edit as you need...)
cp config/parameters.example.ini config/parameters.ini
If you have php 5.4.0
or greater, you can start a web server by
running:
# use a free port
./bin/server 7890
Otherwise, setup a virtual host and point the DocumentRoot
to the
web
directory.
Open your browser and head to http://localhost:7890 (or the configured vitual host).
That's it! You can start developing your app!