Skip to content

Releases: brefphp/bref

0.2.17

20 Jun 22:12
343d65b

Choose a tag to compare

#26 #29: Configure PHP flags and extensions using .bref.yml

For example:

php:
    configuration:
        max_execution_time: 300
    extensions:
        - redis

Here is the list of extensions available:

  • Redis: redis
  • MongoDB: mongodb

0.2.16

20 Jun 12:34
a426389

Choose a tag to compare

#27 Allow to choose the PHP version in .bref.yml, for example:

php:
    version: 7.2.6

Read more.

0.2.15

13 Jun 09:27
57f48b2

Choose a tag to compare

#24 & #25: New bref deploy --dry-run option
#22: New php bref.php bref:invoke command to replace bref local for local testing
#20: New bref invoke command to invoke the lambda
#21: New bref logs command to display the lambda's logs
#19: New bref remove command to delete the lambda

0.2.14

12 Jun 11:34

Choose a tag to compare

  • #18 Speed up building lambdas when deploying or running them locally
  • Fix #17: broken local command
  • #16 Stream the output of bref deploy

2018-06-09 21 09 02

0.2.13

09 Jun 18:59
e549dbf

Choose a tag to compare

#15 Bref internal files are auto-deployed:

Users do not have to add Bref internal files to serverless.yml anymore. You can remove the handler.js and '.bref/**' files from your include section in serverless.yml, however this is not mandatory.

0.2.12

08 Jun 13:10
60a5c36

Choose a tag to compare

#14: Opcache is now installed and configured

Opcache usually works in memory, compiling PHP code to opcode and caching it in memory between HTTP requests. Since on lambdas the PHP process is terminated between requests, the classic behavior of opcache doesn't work (the cache is cleared every time).

To make opcache work we enable its "file cache" mode where opcache writes the opcode into a file (with the opcache.file_cache option). When the PHP process starts, it reads the opcodes from the file cache.

On the API platform demo, when getting a list of books (uses the database):

  • without opcache: 220ms
  • with opcache: 105ms

0.2.11

02 Jun 21:13

Choose a tag to compare

#10 Fix permission issues on the PHP binary.

0.2.10

02 Jun 21:02

Choose a tag to compare

Fix #12 serverless deploy had a timeout of 60s.

0.2.9

02 Jun 13:32

Choose a tag to compare

Add a progress bar to make things fun!

2018-06-02 15 28 45

0.2.8

02 Jun 12:41
5f9fc58

Choose a tag to compare

#9 & #11: New bref local command to invoke the lambda locally.