soflomo / scaffold
Soflomo scaffold project for fast bootstrapping ZF2 aplications
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 1
Language:CSS
Type:project
Requires
- soflomo/common: ~0.5
- soflomo/local-script: ~0.1
- soflomo/prototype: ~0.1
- zendframework/zendframework: ~2.2
This package is not auto-updated.
Last update: 2024-11-05 01:53:59 UTC
README
This Soflomo scaffold repository contains the default set-up for Soflomo projects. The scaffold is intented to allow fast bootstrapping of Zend Framework 2 applications with a preconfigured setup of serveral tools. Use at your own will.
Components
The scaffold is based on the following libraries:
- Zend Framework 2: more specifically, it looks similar to the ZendSkeletonApplication
- Soflomo\Common: a set of tools used in any Soflomo project
- Soflomo\Prototype: a small module that allows prototyping of applications
- Composer: Composer to load all external php dependencies (ZF2 and the Soflomo* libraries)
- Bower: a frontend dependency management tool
- normalize.scss: to normalize styles across different browsers
- Modenizr: to enable progressive enhancements across browsers
- Compass: to parse SASS files into CSS
Installation
You can install the scaffold by using composer. Load the composer.phar file and execute the following line:
php composer.phar create-project soflomo/scaffold my-dir
bower install
npm install
gulp build
This will install the scaffold in "my-dir", load all dependencies from bower and runs the compilation step from compass. If you have a repository available for your new project, add this as remote and start coding.
Usage
Inside the scaffold several string values are used to indicate the project's name. You can find & replace all of them for your own need.
- --Project Name--: this is meant as a user-friendly and readable format for the project. It is for example used in the title element inside the layout.
- project-name: an internal name for the project, used for example in the bower.json
- example.com: the domain name for the project's intended public url, used in the robots.txt file