Laravel-debugbar: PHP 8 support?

Created on 29 Nov 2020  路  10Comments  路  Source: barryvdh/laravel-debugbar

Hello, do you have any plans to support php 8?

Thank you for your work

Most helpful comment

Running the tests for PHP8 as we speak, will tag when passing; https://github.com/maximebf/php-debugbar/pull/461

All 10 comments

I'm working with PHP8, so far it's works

image

It's correct, i was able to replicate thats error. but you can use PHP 7.4 only for that case:

  1. Add package to composer (dev)
  2. Use docker with PHP 7.4 -> docker run --rm -it -v $(pwd):/var/www codepso/php:7.4-fpm-mysql composer install
  3. codepso/php:7.4 its a php 7.4 image, you can use another

why do I need to install php 7.4 if the question is support and the ability to install the package using php 8 ?

@barryvdh what do you think about ?

The issue is not laravel-debugbar, but it's dependency (https://github.com/maximebf/php-debugbar). If you take a look at the composer.json, you'll see this package is already ready for PHP 8.

And concerning maximebf/debugbar, it seems like they are already working on PHP 8 compatibility, as the last commits concern tests with PHP 8

Running the tests for PHP8 as we speak, will tag when passing; https://github.com/maximebf/php-debugbar/pull/461

@barryvdh thank you for merging! Thank you for you work!

It's tagged now as 1.16.4, so should be available in a few minutes or so.

all is ok now
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

beneverard picture beneverard  路  6Comments

coderdiaz picture coderdiaz  路  4Comments

damienfern picture damienfern  路  4Comments

farshadff picture farshadff  路  4Comments

hookover picture hookover  路  4Comments