browscap / BrowscapBundle

Symfony2 Bundle to access the browscap information
13 stars 12 forks source link

Incompatible with 3.x namespace change #15

Open soullivaneuh opened 8 years ago

soullivaneuh commented 8 years ago

I got this error on unit tests:

Fatal error: Class 'phpbrowscap\Browscap' not found in /code/vendor/browscap/browscap-bundle/Browscap/BrowscapBundle/Browscap.php on line 10

Installed versions:

$ composer show browscap*
browscap/browscap-bundle dev-master 58e71da Allows you to get browser information
browscap/browscap-php    3.0.0              Standalone replacement for php's native get_browser() function
soullivaneuh commented 7 years ago

Any new about this? Is this project still maintained?

soullivaneuh commented 7 years ago

May I have at least an answer? :-)

mimmi20 commented 7 years ago

In the actual version this package is not compatible with browscap-php v3. I am trying to fix this.

asgrim commented 6 years ago

I think the BrowscapBundle is often left behind. I think it's probably better to use browscap/browscap-php directly...

soullivaneuh commented 6 years ago

@asgrim In this case, it would be great to mark this repository as deprecated and add some documentation of how to integrate it with Symfony... or maintain it? :-)

asgrim commented 6 years ago

I don't use Symfony, so I'm afraid I wouldn't be able to provide that documentation, but if someone contributed that, that'd be fab! ;)

asgrim commented 6 years ago

Do you not just use libraries the standard way? Not sure why framework integrations are still a requirement anywhere..?

soullivaneuh commented 6 years ago

Well, for my personal case I use it to get Browser information while validating it with a confirmation code.

And I use the update command from Symfony.

soullivaneuh commented 6 years ago

Hello,

If you need help to maintain the bundle part, don't hesitate to add me as a maintainer. :+1: