Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
298 stars 158 forks source link

Install in Laravel 5.2 encountered a bug #25

Closed cynhard closed 4 years ago

cynhard commented 8 years ago

This is the information. `Problem 1

bahirul commented 7 years ago

Seem symfony/event-dispacther need to be upgrade latest version, same error encounter in yii2.

Toilal commented 7 years ago

Same with symfony 3

Toilal commented 7 years ago

There's a breaking change to upgrade to event-dispatcher 3.x

See migration from some other projects : https://github.com/FriendsOfSymfony/FOSUserBundle/pull/1829/files https://github.com/cpliakas/git-wrapper/pull/110/files

Basically, $event->getName() and $event->getDispatcher() have been removed. Those properties are now available as the second and third argument of the callback function.

I'll open a pull request to support both event-dispatcher 2.x && 3.x.

Toilal commented 7 years ago

It's possible to test the Pull Request with composer require athlon1600/php-proxy:dev-master.

You have to set my repository in composer.json

    ...
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Toilal/php-proxy"
        }
    ],
    ...