Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A symfony 1.4 plugin containing the altumo library.
PHP JavaScript CSS Shell
branch: master

This branch is 34 commits ahead of homer6:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
config
data
install
lib
modules
test/dependencies
web
.gitmodules
LICENSE
README.md

README.md

Overview

sfAltumoPlugin integrates Altumo into an existing Symfony 1.4 / Propel 1.6 project. sfAltumoPlugin also provides additional functionality specific to Symfony and Propel:

  • a fully function working API toolkit for writing API methods (JSON)
  • a database build and deployment system based on git
  • a collection of symfony pake tasks

Altumo is a library of tools for web development under the MIT License. ( See altumo for vendor license information )

Dependencies

  • Git >= 1.7+
  • Symfony >= 1.4.16
  • Propel >= 1.6

Installation - New Project

Installation - Existing Project

  • Symfony root must be in htdocs/project (relative to the git root).
  • Symfony 1.4 must be installed in the lib/vendor directory (eg. htdocs/project/lib/vendor/symfony).
  • cd {git root}
  • git submodule add git://github.com/altumo/sfAltumoPlugin.git htdocs/project/plugins/sfAltumoPlugin
  • git submodule update --recursive --init
  • add "$this->enablePlugins('sfAltumoPlugin');" to ProjectConfiguration.class.php
  • cd htdocs/project
  • ./symfony altumo:install-plugin
  • ./symfony altumo:install //see usage for details
  • ./symfony altumo:build

ApiRequest Caveat

The ApiRequest class contains (in function authenticate()) the following line:

\sfContext::getInstance()->getUser()->signIn( $sf_guard_user, false );

This line assumes that the object returned by getUser() implements method signIn. The standard class myUser however does not implement that method, so the project has to contain a class of that name that implements it in order to be able to use standard API authentication.

Something went wrong with that request. Please try again.