Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 56 lines (27 sloc) 1.231 kB
56cef03 @willdurand Introducing Propel2
willdurand authored
1 # Propel2 #
2030848 Added exported CVS repository.
hans authored
2
f6e8ebe @willdurand Added README
willdurand authored
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)
11 * [Yaml](https://github.com/symfony/Yaml)
12
06c2ee2 @willdurand Fixed PHP minimum version number (see: issue #71 for more information)
willdurand authored
13 Propel2 is only supported on PHP 5.3.3 and up.
f6e8ebe @willdurand Added README
willdurand authored
14
15
56cef03 @willdurand Introducing Propel2
willdurand authored
16 ## Installation ##
17
fffbb4a @willdurand Updated README
willdurand authored
18 Read the [Propel documentation](http://www.propelorm.org/).
56cef03 @willdurand Introducing Propel2
willdurand authored
19
20
fffbb4a @willdurand Updated README
willdurand authored
21 ## Contribute ##
22
23 Everybody can contribute to Propel2. Just fork it, and send Pull Requests.
24 You have to follow [Propel2 Coding Standards](http://github.com/propelorm/Propel2/issues/2) and provides unit tests as much as possible.
25
26 **Note:** you can fix checkstyle before to submit a Pull Request by using the Symfony2 `check_cs` script.
27 You just need to install [Finder](http://github.com/symfony/Finder) and the script:
28
29 git clone git://github.com/symfony/Finder.git vendor/Symfony/Component/Finder
30
31 wget https://raw.github.com/symfony/symfony/master/check_cs
32
33 Then use it:
34
35 php check_cs fix
36
37
38 ## Unit Tests ##
56cef03 @willdurand Introducing Propel2
willdurand authored
39
40 To run unit tests, you'll have to install vendors:
41
42 ./bin/install_vendors.sh
43
44 Once done, build fixtures:
45
46 ./tests/reset_tests.sh
47
fffbb4a @willdurand Updated README
willdurand authored
48 Now you can run unit tests:
56cef03 @willdurand Introducing Propel2
willdurand authored
49
fffbb4a @willdurand Updated README
willdurand authored
50 phpunit
f6e8ebe @willdurand Added README
willdurand authored
51
52
53 ## License ##
54
55 See the `LICENSE` file.
Something went wrong with that request. Please try again.