{"id":16458161,"url":"https://github.com/akalongman/php-ingress-statistics","last_synced_at":"2025-10-27T09:31:03.906Z","repository":{"id":25576775,"uuid":"29010635","full_name":"akalongman/php-ingress-statistics","owner":"akalongman","description":"Class shows graphycal year statistics for Ingress from CSV file","archived":false,"fork":false,"pushed_at":"2015-04-05T22:01:51.000Z","size":157,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-06T19:50:30.557Z","etag":null,"topics":["ingress","statistics"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akalongman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-09T09:50:36.000Z","updated_at":"2019-03-18T19:41:43.000Z","dependencies_parsed_at":"2022-08-02T10:42:25.389Z","dependency_job_id":null,"html_url":"https://github.com/akalongman/php-ingress-statistics","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fphp-ingress-statistics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fphp-ingress-statistics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fphp-ingress-statistics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akalongman%2Fphp-ingress-statistics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akalongman","download_url":"https://codeload.github.com/akalongman/php-ingress-statistics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238471989,"owners_count":19478141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ingress","statistics"],"created_at":"2024-10-11T10:44:26.206Z","updated_at":"2025-10-27T09:30:58.627Z","avatar_url":"https://github.com/akalongman.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=MVCBM7M2RCEX6\u0026lc=US\u0026item_name=Support%20our%20open%2dsource%20initiatives\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"],"categories":[],"sub_categories":[],"readme":"# php-ingress-statistics\n==================\n\nClass shows graphycal year statistics for Ingress from CSV file\nSee demo: http://ingress.ge/stats/2014\n\n\n## Sponsors\n\nNo sponsors yet.. :(\nIf you like the software, don't forget to donate to further development of it!\n\n[![PayPal donate button](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=MVCBM7M2RCEX6\u0026lc=US\u0026item_name=Support%20our%20open%2dsource%20initiatives\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted \"Donate once-off to this project using Paypal\")\n\n\n\n## Usage:\n\nFirst you must create CSV file from Ingress data (You can create Excel and after export in CSV). Look at file example.csv\n\nCSV format is very simple: each cycle in each line:\nCYCLE_NAME,ENL_MU(k),RES_MU(k),ENL_TOP_PLAYER,RES_TOP_PLAYER\n\nSmall example:\n2014.03,59.4,16.2,LONGMAN [L14],bizarre [L10]\n\nIf no data about any player you can left empty:\n2014.03,59.4,16.2,,bizarre [L10]\n\nIf MUs is under 1k you must specify amount with decimals under 1:\n2014.03,0.1,16.2,LONGMAN [L14],bizarre [L10]\n\n```php\n\t// include lib file\n\trequire('ingress.inc.php');\n\n\ttry {\n\n\t\t// Possible parameters\n\t\t// year - Statistics year for titles\n\t\t// cell - Cell code\n\t\t// cellname - Human readable cell name\n\t\t// analytics - Google analytics id (if you want track page views)\n\n\t\t// chart_options - Chart Options:\n\t\t//\t\t\t animation.duration - Duration in milliseconds (default is 1500)\n\t\t//\t\t\t animation.easing - Easing (default is 'swing'. More easings you can see at http://api.jqueryui.com/easings)\n\t\t$chart_options = array('animation.duration'=\u003e1500, 'animation.easing'=\u003e'easeOutBounce');\n\n\n\t\t// initialize class with custom parameters\n\t\t$ingress = new Ingress(array('year'=\u003e2014, 'cell'=\u003e'NR02-BRAVO-02', 'cellname'=\u003e'Tbilisi - Georgia'));\n\n\t\t// load csv file\n\t\t$ingress-\u003eloadCSV('example.csv');\n\n\t\t// render generated HTML\n\t\t$ingress-\u003erender();\n\t}\n\tcatch(Exception $e) {\n\t\tdie($e-\u003egetMessage());\n\t}\n```\n\n## TODO\n\nAdd other languages\n\nPull requests are welcome.\n\n## Troubleshooting\n\nIf you like living on the edge, please report any bugs you find on the [php-ingress-statistics issues](https://github.com/akalongman/php-ingress-statistics/issues) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakalongman%2Fphp-ingress-statistics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakalongman%2Fphp-ingress-statistics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakalongman%2Fphp-ingress-statistics/lists"}