PHPackages                             g3n1us/datatidy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. g3n1us/datatidy

ActivePhp[Utility &amp; Helpers](/categories/utility)

g3n1us/datatidy
===============

Get data from Google Sheets or other sources, and return standardized, structured, tidy data

1.0.3(8y ago)1621GPL-3.0PHPPHP ^5.5.0 || ^7.0

Since Oct 26Pushed 8y ago2 watchersCompare

[ Source](https://github.com/g3n1us/datatidy)[ Packagist](https://packagist.org/packages/g3n1us/datatidy)[ RSS](/packages/g3n1us-datatidy/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (6)Used By (1)

datatidy
========

[](#datatidy)

Get data from Google Sheets and other sources, and return standardized, structured, tidy data

Usage
-----

[](#usage)

#### Options

[](#options)

```
$defaultoptions = [
	'allow_origin' => null, // If a response is to be generated, this value will be applied to an Access-Control-Allow-Origin header
	'resultsas' => 'collection', // or paginate or array
	'sort' => false, // key by which to sort
	'ascending' => false, // applies to the sort order
	'nomd' => false, // my default, content will be converted to HTML with Markdown, this option disables this
	'paginate' => false,
	'show_pagination' => true,
	'results_per_page' => 12,
];
```

### Arguments

[](#arguments)

##### URI or path to retrieve data.

[](#uri-or-path-to-retrieve-data)

To retrieve a Google Sheets spreadsheet, use the format: `gproxy://`

**NOTE: The spreadsheet must be published publicly!**

For other JSON formatted URIs, specify either a relative or absolute endpoint to retrieve

##### OPTIONS: An array of options as shown above

[](#options-an-array-of-options-as-shown-above)

#### Call via static methods

[](#call-via-static-methods)

```
DataTidy::response("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk", ['allow_origin' => '*']);
// Returns a full Response

DataTidy::get("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk");
// Returns the data as an instance of Illuminate\Collection
```

#### Call via constructor

[](#call-via-constructor)

```
use G3n1us\DataTidy;

$datatidy = new Datatidy("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk");
$datatidy->get();
// or
$datatidy->response();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~99 days

Total

4

Last Release

3236d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c333ee6f326dcf1db86250abc626934305f2a584ad240fffd26ca14c111016e?d=identicon)[g3n1us](/maintainers/g3n1us)

---

Top Contributors

[![g3n1us](https://avatars.githubusercontent.com/u/2233924?v=4)](https://github.com/g3n1us "g3n1us (6 commits)")

### Embed Badge

![Health badge](/badges/g3n1us-datatidy/health.svg)

```
[![Health](https://phpackages.com/badges/g3n1us-datatidy/health.svg)](https://phpackages.com/packages/g3n1us-datatidy)
```

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k35.3M364](/packages/yajra-laravel-datatables-oracle)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

984.0k](/packages/zidbih-laravel-deadlock)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
