AdrienAdB / oc-acte-myip

Plugin for OctoberCMS. Display the client public IP address in JSON and RAW.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oc-acte-myip

Plugin for OctoberCMS. Display the client public IP address in JSON and RAW. Very simple component that returns client public IP address.

Component:

Add component in your page Setup page URL like /ip/:format format options: json or raw

API:

/api/ip/raw will return client IP as text /api/ip/json will return JSON format like {"ip":"1.2.3.4"}

About

Plugin for OctoberCMS. Display the client public IP address in JSON and RAW.

License:GNU General Public License v3.0


Languages

Language:PHP 96.8%Language:HTML 3.2%