Download the PHP package rypsx/infomaniak without Composer
On this page you can find all versions of the php package rypsx/infomaniak. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rypsx/infomaniak
More information about rypsx/infomaniak
Files in rypsx/infomaniak
Package infomaniak
Short Description A PHP tool to use the Infomaniak API
License MIT
Homepage https://github.com/rypsx/infomaniak
Informations about the package infomaniak
Infomaniak PHP API
Access to English version
Ce package vous permet d'intégrer les statistiques de votre flux hébergé par Infomaniak dans votre projet.
Présentation
Ce package vous permet d'avoir :
- L'état de vos stream audio
- Le nombre d'auditeurs actuellement et le maximum atteint
- Le détail des auditeurs en temps réel (+ nouveau paramètre pour les trier selon la durée d'écoute)
- Les informations de localisation sur les auditeurs en cours d'écoute (NOUVEAU)
Utilisation
Requis
- PHP5
- Carbon
- Rypsx\IpApi
Composer
Si vous utilisez Composer, vous pouvez ajouter ce package en entrant ceci dans votre terminal :
composer require rypsx/infomaniak
ou en éditant le fichier composer.json
, tel que :
{
"require": {
"rypsx/infomaniak": "^3.1"
}
Exemple de retour
Version 2
- Correction de l'intégration via composer. Le projet est maintenant utilisable directement en utilisant les namespaces
- Possibilité de classer par la durée d'écoute les auditeurs actuels. Dernier paramètre de l'appel de la classe
- Elargissement de la classe à d'autres type de codec et de débit
- Corrections diverses
Version 3.0
- Corrections de bugs
- Ajout de la class IpApi afin d'obtenir les informations de localisation des auditeurs (facultatif)
Version 3.1
- Ajout d'une classe "Lite" permettant d'obtenir les informations essentielles uniquement
English Version
This package allows you to integrate the statistics of your feed hosted by Infomaniak in your project.
Presentation
This package allows you to have :
- The state of audio streams
- The number of listeners in real time and maximum
- Details of listeners in real time (+ new parameter to sort or not them according to playing time)
- The location information on listeners while listening (NEW)
Usage Example / Utilisation
Required
- PHP5
- Carbon
- Rypsx\IpApi
Composer
If you use Composer, you can add this package from your terminal with :
composer require rypsx/infomaniak
or by editing composer.json
, like that :
{
"require": {
"rypsx/infomaniak": "^3.1"
}
Output example / Example de retour
Thank you note that sensitive informations in the above example like IP adress or localisation informations were deliberately masked by `**`, because it is the result of a real test**
Version 2
- Correction integration via Composer. The project is now used directly by using namespaces
- Ability to classify the playing time the current auditors. Last parameter of the class call
- Enlargement of the class to other codec type and flow
- Various fixes
Version 3.0
- Corrections of bugs
- Adding IPAPI class to get location information from listeners (optional)
Version 3.1
- Adding "Lite" class to obtain essential informations only
License
The MIT License (MIT)
Copyright (c) 2016 Rypsx Dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.