{"id":15002860,"url":"https://github.com/michael-rubel/laravel-sql-function-repository","last_synced_at":"2025-10-03T13:31:07.999Z","repository":{"id":62355002,"uuid":"496535505","full_name":"michael-rubel/laravel-sql-function-repository","owner":"michael-rubel","description":"Repository class to run SQL functions available in the PostgreSQL database","archived":true,"fork":false,"pushed_at":"2023-01-19T12:02:15.000Z","size":46,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-25T18:53:08.634Z","etag":null,"topics":["database","functions","laravel","looking-for-contributors","mariadb","mssqlserver","mysql","php","postgresql","sql","sql-functions","sqlite"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michael-rubel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null},"funding":{"custom":["https://paypal.me/observername"]}},"created_at":"2022-05-26T08:11:36.000Z","updated_at":"2024-03-15T19:39:43.000Z","dependencies_parsed_at":"2023-02-10T23:30:41.675Z","dependency_job_id":null,"html_url":"https://github.com/michael-rubel/laravel-sql-function-repository","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"michael-rubel/laravel-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-rubel%2Flaravel-sql-function-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-rubel%2Flaravel-sql-function-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-rubel%2Flaravel-sql-function-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-rubel%2Flaravel-sql-function-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael-rubel","download_url":"https://codeload.github.com/michael-rubel/laravel-sql-function-repository/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219876404,"owners_count":16554753,"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":["database","functions","laravel","looking-for-contributors","mariadb","mssqlserver","mysql","php","postgresql","sql","sql-functions","sqlite"],"created_at":"2024-09-24T18:53:18.386Z","updated_at":"2025-10-03T13:31:07.665Z","avatar_url":"https://github.com/michael-rubel.png","language":"PHP","readme":"![Run database function](https://user-images.githubusercontent.com/37669560/176688279-9cae459f-d758-453a-80c1-cf1b345f9cc4.png)\n\n# Laravel SQL Function Repository\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/michael-rubel/laravel-sql-function-repository.svg?style=flat-square\u0026logo=packagist)](https://packagist.org/packages/michael-rubel/laravel-sql-function-repository)\n[![Total Downloads](https://img.shields.io/packagist/dt/michael-rubel/laravel-sql-function-repository.svg?style=flat-square\u0026logo=packagist)](https://packagist.org/packages/michael-rubel/laravel-sql-function-repository)\n[![Code Quality](https://img.shields.io/scrutinizer/quality/g/michael-rubel/laravel-sql-function-repository.svg?style=flat-square\u0026logo=scrutinizer)](https://scrutinizer-ci.com/g/michael-rubel/laravel-sql-function-repository/?branch=main)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/michael-rubel/laravel-sql-function-repository.svg?style=flat-square\u0026logo=scrutinizer)](https://scrutinizer-ci.com/g/michael-rubel/laravel-sql-function-repository/?branch=main)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/michael-rubel/laravel-sql-function-repository/run-tests.yml?branch=main\u0026style=flat-square\u0026label=tests\u0026logo=github)](https://github.com/michael-rubel/laravel-sql-function-repository/actions)\n[![PHPStan](https://img.shields.io/github/actions/workflow/status/michael-rubel/laravel-sql-function-repository/phpstan.yml?branch=main\u0026style=flat-square\u0026label=larastan\u0026logo=laravel)](https://github.com/michael-rubel/laravel-sql-function-repository/actions)\n\nThis package provides a repository class to run SQL functions available in the database.\nCurrently, only `PostgreSQL` database is supported, but if you want to add support for your database, contributions are welcomed.\n\n---\n\nThe package requires `PHP 8` or higher and `Laravel 9` or higher.\n\n## #StandWithUkraine\n[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n\n## Installation\nInstall the package using composer:\n```bash\ncomposer require michael-rubel/laravel-sql-function-repository\n```\n\nPublish the config, set up basic connection and select:\n```bash\nphp artisan vendor:publish --tag=\"sql-function-repository-config\"\n```\n\n## Usage\n```php\n$repository = app(SqlFunctionRepository::class);\n$repository-\u003erunDatabaseFunction('yourFunctionName', [\n    'functionParameter1',\n    'functionParameter2',\n]);\n```\n\n## Testing\n```bash\ncomposer test\n```\n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":["https://paypal.me/observername"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-rubel%2Flaravel-sql-function-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael-rubel%2Flaravel-sql-function-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-rubel%2Flaravel-sql-function-repository/lists"}