{"id":19675834,"url":"https://github.com/progerxp/excelife","last_synced_at":"2026-05-12T22:35:21.965Z","repository":{"id":146023792,"uuid":"14017642","full_name":"ProgerXP/Excelife","owner":"ProgerXP","description":"PHP parser for Excel tables into trees using simple rules and chaned calls.","archived":false,"fork":false,"pushed_at":"2013-10-31T13:43:13.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T05:51:32.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProgerXP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-31T13:28:36.000Z","updated_at":"2024-03-16T20:52:51.000Z","dependencies_parsed_at":"2023-03-23T11:29:27.052Z","dependency_job_id":null,"html_url":"https://github.com/ProgerXP/Excelife","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ProgerXP/Excelife","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgerXP%2FExcelife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgerXP%2FExcelife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgerXP%2FExcelife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgerXP%2FExcelife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgerXP","download_url":"https://codeload.github.com/ProgerXP/Excelife/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgerXP%2FExcelife/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285697828,"owners_count":27216628,"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","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T17:26:03.164Z","updated_at":"2025-11-21T22:02:55.173Z","avatar_url":"https://github.com/ProgerXP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Excelife\n\n**Excelife** parses Excel tables into trees using simple rules and chained calls.\n\nIt requires **excel_reader2** (included) and works out of the box with **PHP 5.3 and up** - simply include it and you're ready to go. Bundle for Laravel 3 is provided for easy autoloading.\n\n**Unless you're using Laravel Excelife is just a single file (`excelife.php`) plus `excel_reader2.php`.**\n\n## [Laravel bundle](http://bundles.laravel.com/bundle/excelife)\n```\nphp artisan bundle:install excelife\n```\n\n## Example\n\nThe complete source code and sample data are available in `example` directory. You don't need it for Excelife to work. A snippet from there:\n\n```\n$rows = Excelife::make('data.xls')\n  -\u003etoAfter(0, '�')\n  -\u003ematch(function ($cells, $row) {\n    if ($row-\u003ebgColor(1) === 'FFFF99') {\n      return new Group($row, $cells[1]);\n    }\n  })\n  -\u003ematch(function ($cells, $row) {\n    if ($row-\u003ecolor(0) === 'FF9900') {\n      return new Unavailable($row);\n    } else {\n      return new Product($row, array('sku', 'title', 'retail', 'wholesale'));\n    }\n  })\n  -\u003eparse()\n  -\u003eget();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogerxp%2Fexcelife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogerxp%2Fexcelife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogerxp%2Fexcelife/lists"}