My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#summary Installation instructions
#labels Featured,Phase-Deploy

=Installation=

This tutorial guides you through the installation of Morph

==Requirements==

* The Morph package requires a a recent version of PHP with SPL enabled.
* The MongoDB PHP driver - see [http://www.mongodb.org/display/DOCS/Installing+the+PHP+Driver this wiki page] for more details
* Morph itself! At present there are no downloadable releases but you can easily check it out from [http://code.google.com/p/mongodb-morph/source/checkout SVN]

==Optional Requirements==
Morph makes it super easy for you to integrate itself into your projects by providing a pre-packaged PHP Archive (phar).

To make use of Morph.phar you need to install the [http://pecl.php.net/package/phar/ Phar extension] from [http://pecl.php.net PECL]. The phar extension is
included in the standard distribution of PHP 5.3+.

The phar file contains everything you need to get up and running, acting like a shared object or dll. All you need to do is
require the phar file before you use the library. e.g.

{{{
require 'Morph.phar';

//carry on as normal
}}}

==General Usage==

Morph is designed to work in conjunction with an Autloader that maps classes to files and folders. e.g. Morph_Query should map to _include-path_/Morph/Query.php

The Morph phar file already includes such an autoloader but you can easily implement your own one or use the more manual require/include option if you wish. Morph
should also work with the Zend Framework autoloader.

Change log

r10 by XirisR on Jun 21, 2009   Diff
Edited wiki page through web user
interface.
Go to: 
Project members, sign in to write a code review

Older revisions

r6 by XirisR on Jun 19, 2009   Diff
Created installation instructions wiki
page
All revisions of this file

File info

Size: 1522 bytes, 34 lines
Powered by Google Project Hosting