Skip to content

Commit 690f577

Browse files
committed
Updates documentation.
1 parent 02d6811 commit 690f577

2 files changed

Lines changed: 4 additions & 42 deletions

File tree

Resources/doc/configuration.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If you are **not** using Composer, add this configuration:
88
``` yaml
99
# in app/config/config.yml
1010
propel:
11-
path: "%kernel.root_dir%/../vendor/propel"
11+
path: "%kernel.root_dir%/../vendor/palepurple"
1212
phing_path: "%kernel.root_dir%/../vendor/phing"
1313
```
1414

Resources/doc/index.markdown

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
PropelBundle
22
============
33

4-
This is the official implementation of [Propel](http://www.propelorm.org/) in Symfony2.
4+
This an unofficial implementation of [Propel 1.6](http://www.propelorm.org/) in Symfony, which has been modified to work
5+
with PHP 7.2, PHP 7.3, and Symfony 3.x.
56

67

78
## Installation ##
@@ -12,37 +13,11 @@ The recommended way to install this bundle is to rely on [Composer](http://getco
1213
{
1314
"require": {
1415
// ...
15-
"propel/propel-bundle": "1.1.*"
16+
"deviscoding/propel1-bundle": "^1.7"
1617
}
1718
}
1819
```
1920

20-
Otherwise you can use Git, SVN, Git submodules, or the Symfony vendor management (deps file):
21-
22-
* Clone this bundle in the `vendor/bundles/Propel` directory:
23-
24-
> git submodule add https://github.com/propelorm/PropelBundle.git vendor/bundles/Propel/PropelBundle
25-
26-
* Checkout Propel and Phing in the `vendor` directory:
27-
28-
> svn checkout http://svn.github.com/propelorm/Propel.git vendor/propel
29-
30-
> svn checkout http://svn.phing.info/tags/2.4.6/ vendor/phing
31-
32-
* Instead of using svn, you can clone the unofficial Git repositories:
33-
34-
> git submodule add https://github.com/phingofficial/phing.git vendor/phing
35-
36-
> git submodule add https://github.com/propelorm/Propel.git vendor/propel
37-
38-
* Instead of doing this manually, you can use the Symfony vendor management via the deps file:
39-
40-
See http://www.propelorm.org/cookbook/symfony2/working-with-symfony2.html#via_symfony2_vendor_management
41-
42-
If you are using a Symfony2 2.x.x version (actually, a version which is not 2.1 or above), be sure to deps.lock the PropelBundle to a commit on the 2.0 branch,
43-
which does not use the Bridge
44-
45-
4621
The second step is to register this bundle in the `AppKernel` class:
4722

4823
``` php
@@ -57,19 +32,6 @@ public function registerBundles()
5732
}
5833
```
5934

60-
Don't forget to register the PropelBundle namespace in `app/autoload.php` if you are not using Composer:
61-
62-
``` php
63-
$loader->registerNamespaces(array(
64-
// ...
65-
'Propel' => __DIR__.'/../vendor/bundles',
66-
));
67-
$loader->registerPrefixes(array(
68-
// ...
69-
'Phing' => __DIR__.'/../vendor/phing/classes/phing',
70-
));
71-
```
72-
7335
You are almost ready, the next steps are:
7436

7537
* to [configure the bundle](configuration.markdown);

0 commit comments

Comments
 (0)