Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halleck45/phpstarter
Easy way to create your php projects with phing.
https://github.com/halleck45/phpstarter
Last synced: 2 months ago
JSON representation
Easy way to create your php projects with phing.
- Host: GitHub
- URL: https://github.com/halleck45/phpstarter
- Owner: Halleck45
- Created: 2012-10-09T10:33:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-06T16:33:19.000Z (about 12 years ago)
- Last Synced: 2024-05-01T21:21:02.065Z (8 months ago)
- Language: PHP
- Size: 665 KB
- Stars: 9
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
PhpStarter
================[![Build Status](https://secure.travis-ci.org/Halleck45/PhpStarter.png)](http://travis-ci.org/Halleck45/PhpStarter)
Easy way to create your projects with phing.
## Description
This tool will
- download the framework (Symfony 2, Zend-Framework...)
- create your VirtualHost
- remove old projects
- ...Installation
-----------1. Install phing
2. Run it !### Install phing
pear channel-discover pear.phing.info
pear install phing/phing### Run it !
This command :
```
phing
-Dframework=symfony21
-Ddestination=/var/www/demo
-Dvhost=demo
install
```Will install `Symfony 2.1` on your local computer, in `/var/www/demo`, and will add VirtualHost named `demo`.
If you want to uninstall a project, just run
```
phing
-Dframework=symfony21
-Ddestination=/var/www/demo
-Dvhost=demo
remove
```It will remove VirtualHost and source files.
Available frameworks
-----------Today, you can install Symfony 2.1 and Zend Framework 2. You can contribute and add support for other framework. Just add a new file in library/framework, and import it :-)
Configuration
-----------You can edit the file `properties/install.properties` and change the following values :
```
apacheSitesDir=/etc/apache2/sites-available
templateDir=./templates
owner.group=www-data
```If you want to configure a local configuration, you can create a file named `properties/local.properties`. It will never be commited and will be ignored by git.
```
owner.user=myLocalUser
```