-
-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
On Linux, Mac or Windows (using Cygwin), the following one-liner can be used to install the automated tools and environment:
php -r "readfile('http://php.gt/install');" | php
Paste this line into your terminal. The script explains what it's doing and pauses before it does it. During the install process, you are asked whether to install cli-phpgt or gui-phpgt, which automate the creation of new projects, serve your applications locally and deploy to live servers, through a simple command-line or graphical user interface.
The functionality of the main codebase is installed using Composer, packed at https://packagist.org/packages/brightflair/php.gt .
The brightflair/php.gt
package needs to be added to the require
block of your project's Composer configuration, pointing to at least version 2.0.0 .
An example composer.json
:
{
"name": "you/your-new-app",
"description": "Your new app is right here",
"homepage": "http://example.org/",
"type": "library",
"require": {
"brightflair/php.gt": "2.0.*",
},
"prefer-stable": true
}
TODO:
- installing using git or a zip/tarball
- Use the blank blueprint composer install command
- laying out your new blank project
- serving the project
- using your own webserver
- blueprints for other projects
- behind the scenes: composer create-project brightflair/gt-blueprint-blank:*
- Request-response lifecycle
- Running your application
- Project layout
- Application architecture
- Web servers
- URIs
- Page view
- Dynamic URIs and pages
- Headers and footers
- Page logic
- Protected globals
- User input
- Cookies
- Sessions
- DOM manipulation
- Custom HTML components
- DOM templates
- Binding data to the DOM
- Database
- Client side assets
- API Webservices
- Security
- Configuration
- Build system
- Coding styleguide