-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,26 @@ | ||
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/86a71f44-22ed-46e6-9fc7-d7d3ca79815e/mini.png)](https://insight.sensiolabs.com/projects/86a71f44-22ed-46e6-9fc7-d7d3ca79815e) | ||
|
||
Concrete5 package for v8 - Adds beberlei/DoctrineExtensions to concrete5 (work in progress) | ||
Concrete5 package for v8 - Adds beberlei/DoctrineExtensions to concrete5 | ||
====== | ||
|
||
Installation | ||
------------------ | ||
|
||
### Install the package manually | ||
|
||
1. Download the zip and copy the folder **concrete5_doctrine_dql_extensions-xxx** to {root}/packages | ||
2. Rename the folder to **concrete5_doctrine_dql_extensions** | ||
2. Use [Composer](https://getcomposer.org/) to install the third party dependencies | ||
|
||
composer install | ||
|
||
4. Install the package in concrete5 | ||
5. Navigate to **System & Settings -> Doctrine DQL Extensions** to see the available DQL functions. You can now use the most common MySQL functions in your DQL queries and in the QueryBuilder. | ||
|
||
#### Attention: | ||
If you decide to install the package manually, you should install all packages which depend on its functionality, after you first installed this package. The reason is, that concrete5 loads the active packages in the same order they were installed. | ||
|
||
### Install the package with the projects composer.json file | ||
|
||
1. Add the following line to the 'require' section of the concrete5 composer.json file | ||
1. Run the following command from the installation {root} folder to get the latest version | ||
|
||
|
||
"kaapiii/concrete5_doctrine_dql_extensions": "^1.1" | ||
composer require kaapiii/concrete5_doctrine_dql_extensions | ||
|
||
|
||
2. Run the following command from the installation {root} folder | ||
2. Add the following line to the 'require' section of the concrete5 composer.json file | ||
|
||
|
||
'composer install' | ||
"kaapiii/concrete5_doctrine_dql_extensions": "^1.1" | ||
|
||
3. Install the package | ||
4. Navigate to **System & Settings -> Doctrine DQL Extensions** to see the available DQL functions. You can now use the most common MySQL functions in your DQL queries and in the QueryBuilder. | ||
|
||
#### Note: | ||
With this installation method, the installation order of the packages doesn't matter. All third party dependencies are installed in {root}/concrete/vendor and therefore loaded before the packages are initiated. | ||
![screenshot](https://user-images.githubusercontent.com/995643/68252188-23a49500-0025-11ea-8a64-fb6329970608.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters