• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Agent Library

#1
Brick 
Import of  CI 3 User Agent.

Similar: https://github.com/sinergi/php-browser-detector
Reply

#2
Hmmm - sounds like much of this is already in https://bcit-ci.github.io/CodeIgniter4/l...quest.html

Are you suggested it could/should be beefed up?
Reply

#3
Yes, Sir. To can get more specific details, like on CI 3 platform(), browser(), is_robot(), etc.

Maybe return this infos with the getUserAgent. Having a boolean param to get an array with User Agent parts or a string with the full User Agent as is now.
Reply

#4
Good catch, natanfelles. Ported it over tonight - but still needs docs.

url: https://github.com/bcit-ci/CodeIgniter4/tree/useragent
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply

#5
That Cool. Thank you! Smile
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.