Skip to content
This repository
Newer
Older
100644 61 lines (31 sloc) 1.511 kb
56cef03f » willdurand
2011-10-06 Introducing Propel2
1 # Propel2 #
20308488 » hans
2005-04-08 Added exported CVS repository.
2
f6e8ebe9 » willdurand
2011-10-16 Added README
3 Propel2 is an open-source Object-Relational Mapping (ORM) for PHP 5.3.
4
5
6 ## Requirements ##
7
8 Propel2 uses the following Symfony2 Components:
9
10 * [ClassLoader](https://github.com/symfony/ClassLoader)
1acccd72 » willdurand
2011-12-19 Start to use **Composer**
11 * [Console](https://github.com/symfony/Console)
f6e8ebe9 » willdurand
2011-10-16 Added README
12 * [Yaml](https://github.com/symfony/Yaml)
13
06c2ee20 » willdurand
2011-11-23 Fixed PHP minimum version number (see: issue #71 for more information)
14 Propel2 is only supported on PHP 5.3.3 and up.
f6e8ebe9 » willdurand
2011-10-16 Added README
15
16
56cef03f » willdurand
2011-10-06 Introducing Propel2
17 ## Installation ##
18
fffbb4a8 » willdurand
2011-11-10 Updated README
19 Read the [Propel documentation](http://www.propelorm.org/).
56cef03f » willdurand
2011-10-06 Introducing Propel2
20
21
fffbb4a8 » willdurand
2011-11-10 Updated README
22 ## Contribute ##
23
24 Everybody can contribute to Propel2. Just fork it, and send Pull Requests.
1acccd72 » willdurand
2011-12-19 Start to use **Composer**
25 You have to follow [Propel2 Coding Standards](https://github.com/propelorm/Propel2/wiki/Coding-Standards) and provides unit tests as much as possible.
fffbb4a8 » willdurand
2011-11-10 Updated README
26
27 **Note:** you can fix checkstyle before to submit a Pull Request by using the Symfony2 `check_cs` script.
28 You just need to install [Finder](http://github.com/symfony/Finder) and the script:
29
30 git clone git://github.com/symfony/Finder.git vendor/Symfony/Component/Finder
31
32 wget https://raw.github.com/symfony/symfony/master/check_cs
33
34 Then use it:
35
36 php check_cs fix
37
38
39 ## Unit Tests ##
56cef03f » willdurand
2011-10-06 Introducing Propel2
40
1acccd72 » willdurand
2011-12-19 Start to use **Composer**
41 To run unit tests, you'll have to install vendors by using [**Composer**](https://github.com/composer/composer).
42 If you don't have an available `composer.phar` command, just download it:
56cef03f » willdurand
2011-10-06 Introducing Propel2
43
1acccd72 » willdurand
2011-12-19 Start to use **Composer**
44 wget http://getcomposer.org/composer.phar
45
46 Then, install dependencies:
47
48 php composer.phar install
56cef03f » willdurand
2011-10-06 Introducing Propel2
49
50 Once done, build fixtures:
51
c3b023f8 » willdurand
2011-11-14 Refactored how to prepare unit tests
52 php bin/propel test:prepare
56cef03f » willdurand
2011-10-06 Introducing Propel2
53
fffbb4a8 » willdurand
2011-11-10 Updated README
54 Now you can run unit tests:
56cef03f » willdurand
2011-10-06 Introducing Propel2
55
fffbb4a8 » willdurand
2011-11-10 Updated README
56 phpunit
f6e8ebe9 » willdurand
2011-10-16 Added README
57
58
59 ## License ##
60
61 See the `LICENSE` file.
Something went wrong with that request. Please try again.