{"id":19042476,"url":"https://github.com/protoqol/quasi","last_synced_at":"2025-04-23T22:28:40.065Z","repository":{"id":61946072,"uuid":"468896240","full_name":"Protoqol/Quasi","owner":"Protoqol","description":"This package generates API resources with keys preset to their respective table's columns.","archived":false,"fork":false,"pushed_at":"2023-06-24T15:40:17.000Z","size":101,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T07:51:32.054Z","etag":null,"topics":["laravel","php","protoqol","qol","quasi","resources"],"latest_commit_sha":null,"homepage":"","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/Protoqol.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-11T20:50:45.000Z","updated_at":"2025-02-24T05:08:15.000Z","dependencies_parsed_at":"2024-11-08T22:38:01.091Z","dependency_job_id":null,"html_url":"https://github.com/Protoqol/Quasi","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"4bab3d64f182daa0c4ee7613e70307f59b91b593"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protoqol%2FQuasi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protoqol%2FQuasi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protoqol%2FQuasi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Protoqol%2FQuasi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Protoqol","download_url":"https://codeload.github.com/Protoqol/Quasi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250525757,"owners_count":21445073,"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":["laravel","php","protoqol","qol","quasi","resources"],"created_at":"2024-11-08T22:37:56.960Z","updated_at":"2025-04-23T22:28:40.014Z","avatar_url":"https://github.com/Protoqol.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=TJS5BKNE3JGW8"],"categories":[],"sub_categories":[],"readme":"![Quasi](assets/quasi-promo.jpg)\n\n# Quasi\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/protoqol/quasi.svg?style=flat-square)](https://packagist.org/packages/protoqol/quasi)\n\nEver thought it was a bit tedious to define an API resource for a large table? This package makes life a bit\nsimpler by presetting all columns in a Resource, so you can simply remove the ones you don't need, instead of adding the\nones you need.\n\n### Want to help keep open-source sustainable?\n\nYou can help by contributing to the code or donating using the button below!\nBoth are highly appreciated and contribute directly to keeping open-source free and sustainable!\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=TJS5BKNE3JGW8)\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require protoqol/quasi\n```\n\nOptional - Publish configuration file with:\n```php \nphp artisan vendor:publish --tag=quasi-config\n```\n\n## Usage\n\n```php\n//  Table name is \"guessed\" based of the resource name and will result in 'users' in this case.\nphp artisan make:qresource UserResource \n\n// Table name is given as the second argument.\nphp artisan make:qresource UserResource users\n```\n\n### Config\n\n```php \n// The keys defined in this config will always be excluded from resources - if they exist as a key in the table.\n'exclude' =\u003e [\n    // 'id',\n],\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Credits\n\n- [Quinten Justus](https://github.com/protoqol)\n- [All Contributors](../../contributors)\n\n## License\n\nThe GNU GPL (GPL). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotoqol%2Fquasi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotoqol%2Fquasi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotoqol%2Fquasi/lists"}