Skip to content

Commit 725f312

Browse files
committed
update docs for cake4
1 parent 7720c98 commit 725f312

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

.semver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
:major: 0
2+
:major: 1
33
:minor: 0
44
:patch: 1
55
:special: ''

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
Releases for CakePHP 4
5+
-------------
6+
7+
* 1.0.0
8+
* Initial release
9+
410
Releases for CakePHP 3
511
-------------
612

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright 2009-2018
3+
Copyright 2009-2020
44
Cake Development Corporation
55
1785 E. Sahara Avenue, Suite 490-423
66
Las Vegas, Nevada 89104

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
CakePHP PHP PM Bridge
2-
===================
2+
=====================
33

44
Alpha. Please use at your own risk.
5+
IMPORTANT: Cookies not working at this point, so no sessions or Csrf available
56

67
CakePHP Bridge to use with PHP-PM project (https://github.com/php-pm/php-pm).
78

89
Requirements
910
------------
1011

11-
* CakePHP ^3.6
12-
* PHP ^5.6
12+
* CakePHP ^4.0
13+
* PHP ^7.2
1314
* phpcgi installed
1415
* php_pcntl extension installed and enabled
15-
* Note there is a branch for CakePHP 4, use `dev-cake4`
1616

1717
Setup
1818
-------------
@@ -27,12 +27,12 @@ Run
2727
* Execute the PM via command line
2828
* For MAX performance
2929

30-
vendor/bin/ppm --bridge='\CakeDC\PHPPM\Bridges\Cakephp' start --debug 0 --workers 16 --static-directory webroot > /dev/null
30+
vendor/bin/ppm --bridge='\CakeDC\PHPPM\Bridges\Cakephp' start --debug 0 --workers 9 --logging 0 --static-directory webroot
3131

3232
* For development
33-
33+
3434
vendor/bin/ppm --bridge='\CakeDC\PHPPM\Bridges\Cakephp' start --debug 1 --workers 1 --static-directory webroot
35-
35+
3636

3737
Testing it
3838
----------
@@ -43,10 +43,11 @@ Testing it
4343

4444
Important notes
4545
-------------
46-
* This plugin bootstraps your application once, so ensure your bootstrap is not dynamic, for example, no
46+
47+
* Cookies: they are not working properly now, so you won't have sessions OR Csrf properly working, if you
48+
are providing an API this is not something that should bother you too much anyway...
49+
* This plugin bootstraps your application once, so ensure your bootstrap is not dynamic, for example, no
4750
dynamic routes coming from database based on request params.
48-
* Sessions: we didn't test how the session is interacting now with the bridge. Other bridges had issues with
49-
the session management.
5051

5152
Support
5253
-------

0 commit comments

Comments
 (0)