GithubHelp home page GithubHelp logo

carlosbuenosvinos / php-geckoboard-api Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 36.0 143 KB

A PHP library for pushing data into Geckoboard custom widgets

Home Page: http://www.geckoboard.com

License: MIT License

PHP 100.00%

php-geckoboard-api's Introduction

❤️ Why, How, and What

LinkedIn followers Twitter Follow YouTube Channel Subscribers GitHub followers

I have a mission, teams that excel. I help tech teams become their best version.

I connect team, leadership, and customers's hearts, brains, and guts to maximize impact (customer value, delivery, speed, and quality) by reducing waste and use the right technology for the company moment.

I do that by running consultancy, writing books, organizing conferences, developing open-source tools, speaking at conferences, and vblogging public content.

💪 Consultant

Logos

📖 Book Author

Domain-Driven Design in PHP (2016) 📙

Discover DDD, Architectural Styles, Tactical Design Implementations, and Bounded Context Integration with PHP 7.4 examples

Website · Amazon · Code examples · Goodreads

CQRS by Example (2022) 📘

Command-Query Responsibility Segregation is an architectural style for developing applications that split the Domain Model in Read and Write operations in order to maximize semantics, performance, and scalability. What are all the benefits of CQRS? What are the drawbacks? In which cases does it worth applying it? How does it relate to Hexagonal Architecture? How do we properly implement the Write Model and Read Models? How do we keep in sync both sides? What are the following steps to move towards Event Sourcing? This book will answer all these questions and many more, guided through lots of practical examples.

Website · Code examples · Goodreads

🎭 Conference Organizer

DevOps Barcelona Conference 🚠

We feel passionated and inspired by everyone in the DevOps community. From the small Open Source Projects to the Big Cloud Players. This Conference is for every SysAdmin, Ops, DevOps, Developer, Manager or Techie who wants to level up. For those teams that want to leave a dent both in their companies and in the community.

Website

PHP Barcelona Conference 🐘

What an incredible 2018 and 2019 for the PHP community! Part of the PHP Core Team that was working for Zend left. Some of them found excellent companies and they are rocking more than ever, like Nikita at JetBrains. PHP 7.4 is about to be released, and PHP 8 has been branched. Laravel and Symfony have healthy growth. JIT is part of the imminent future, and I/O non-blocking frameworks are getting more often adopted in production.

Website

💻 Open Source Creator

Ansistrano 🏗

Ansistrano Stars Today Deployments Month Deployments Year Deployments Total Deployments

Ansistrano is an Ansible Galaxy roles to easily deploy and rollback your scripting applications written in PHP, Python, NodeJS, or Ruby.

Website · GitHub Repository

🎤 Talks

🎙 Interviews / Podcasts

📐 Rigor Talks (Season #2)

📐 Rigor Talks (Season #1)

📰 Press

php-geckoboard-api's People

Contributors

arcturial avatar carlosbuenosvinos avatar darinyo avatar humandb avatar ischmittis avatar odino avatar oodgaard avatar oriolgm avatar osukaru avatar patxi1980 avatar raulfp avatar sneat avatar vguardiola avatar vistik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-geckoboard-api's Issues

Can't install with guzzle 3.9.1

  • Installation request for carlosio/geckoboard 1.0.5 -> satisfiable by carlosio/geckoboard[1.0.5].
    • Conclusion: remove guzzle/guzzle v3.9.1
    • carlosio/geckoboard 1.0.5 requires guzzle/guzzle 3.7.* -> satisfiable by guzzle/guzzle[v3.7.0, v3.7.1, v3.7.2, v3.7.3, v3.7.4].
    • Can only install one of: guzzle/guzzle[v3.9.1, v3.7.0].
    • Can only install one of: guzzle/guzzle[v3.9.1, v3.7.1].
    • Can only install one of: guzzle/guzzle[v3.9.1, v3.7.2].
    • Can only install one of: guzzle/guzzle[v3.9.1, v3.7.3].
    • Can only install one of: guzzle/guzzle[v3.9.1, v3.7.4].
    • Installation request for guzzle/guzzle == 3.9.1.0 -> satisfiable by guzzle/guzzle[v3.9.1].

[status code] 400 [reason phrase] Bad Request

After following the installation process in the README, copying and pasting the first widget code and replacing the Widget ID and API key with accurate values, I run my script and receive the following:

PHP Fatal error:  Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response
[status code] 400
[reason phrase] Bad Request

Support for LeaderBoard optional parameters

Hey,

First off, this is a very useful library, so thank you for writing it!

I was wondering you would be able to add support for a couple of optional parameters on the LeaderBoard widget?

According to the Geckoboard API Docs you can optionally supply format and unit parameters:

https://developer.geckoboard.com/#parameters-10

It would be great to be able to do something like this:

$widget = new LeaderBoard();

$widget->setId( $widget_id );

$widget->setFormat('currency');

$widget->setUnit('GBP');

...

Thanks in advance.

Plans to upgrade Guzzle from 3 to 6?

Hi,

Is there any plans on upgrading this library from Guzzle 3 to Guzzle 6?

Guzzle 3 is very very old and will from my experience not work (at all) with PHP versions newer than 7.0. And the lifetime of PHP 7.0 is coming to it's end quite soon: http://php.net/supported-versions.php

This lib is also the most downloaded geckoboard library on packagist, so it's probably worth upgrading it to work with supported versions of PHP (as of december): https://packagist.org/?query=geckoboard

Unless the project is abandoned, but I don't see any mentions of that (as in huge titles on top of the readme or so).

updated docs

hey carlos, thanks for the nice work!

Was wondering if you can provide some additional docs, in the README, for the widgets that are implemented but not documented (ie. line charts).

Bullet Measurement should be Measure

Thanks so much for putting this package together.

I found one thing that I believe needs to be changed in \Data\Bullet\Item.php

toArray() should use the key 'measure' instead of 'measurement'

Let me know if you have any questions.

Thanks!

Enhancement Request for Number & 2nd Stat Widget

I have another request for the Num & 2nd Stat widget:

If $secondaryValue has not been set it would be great if null or "" is passed as the value.

Right now it gets set to 0 (intval of null). If 0 is sent then geckboard will calculate the % difference and list it as a 100% increase. In my cases, I'd like the % increase to not be included at all if secondary value is null.

Let me know if you have any questions.

Thanks,

Dan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.