Download the PHP package xorgxx/neox-geolocator-bundle without Composer
On this page you can find all versions of the php package xorgxx/neox-geolocator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xorgxx/neox-geolocator-bundle
More information about xorgxx/neox-geolocator-bundle
Files in xorgxx/neox-geolocator-bundle
Package neox-geolocator-bundle
Short Description Neox geolocator bundle for Symfony
License proprietary
Informations about the package neox-geolocator-bundle
NeoxGeolocatorBundle { Symfony 6 }
This bundle provides additional tools geolocator in your application. Its main goal is to make it simple for you to manage integration additional tools & acte as firwall!
Let say you want not people from "South America" access to your application or people access with Vpn, Proxy, Tor or you want only people from "Paris". Geolocation IT'S for you !! Even you cant filter mobile !! so if all filter will render "Seo_unauthorized" !! and not will access to your web site
Installation BETA VERSION !!
Install the bundle for Composer !! as is still on beta version !!
`
Make sure that is register the bundle in your AppKernel:
NOTE: You may need to use [ symfony composer dump-autoload ] to reload autoloading
..... Done 🎈
Configuration
- Install and configure ==> Symfony config
- Create neox_geolocator.yaml in config folder
neox_seo.yaml
It set automatique but you can custom (by default)
How to use ?
- Well it pretty match all !!
- be aware that i use Redis to store session information !!! it may have impact in your application.
- Cache system to put expirAfter to be shure that the key will expire after xx and force the controlle againe.
just need to create route & template to name_route_unauthorized: "Seo_unauthorized"
``
`
Exemple twig check_vpn
``
Advanced Usage
- you have your onwn provider service to get geolocation ? no propblem :
This file have structure :
-
Add Event listener on 3 events :
const NEOX_GEOLOCATOR_EVENT = 'neox.geolocator.event'; const NEOX_GEOLOCATOR_PASS = 'neox.geolocator.pass'; const NEOX_GEOLOCATOR_FAIL = 'neox.geolocator.fail';
so now you can create you own way to get statistics !! in your app : App\EventSubscriber ``
Tools !
Contributing
If you want to contribute (thank you!) to this bundle, here are some guidelines:
- Please respect the Symfony guidelines
- Test everything! Please add tests cases to the tests/ directory when:
- You fix a bug that wasn't covered before
- Annotation !!
Todo
- Packagist
Thanks
All versions of neox-geolocator-bundle with dependencies
symfony/http-client Version ^6.3||^6.4||^7.0
symfony/config Version ^6.3||^6.4||^7.0
symfony/dependency-injection Version ^6.3||^6.4||^7.0
symfony/deprecation-contracts Version ^2.2|^3
symfony/framework-bundle Version ^6.3||^6.4||^7.0
symfony/http-kernel Version ^6.3||^6.4||^7.0