{"id":34000132,"url":"https://github.com/dbmaker-go/laravel-dbmaker","last_synced_at":"2025-12-13T09:12:26.366Z","repository":{"id":44255528,"uuid":"200574703","full_name":"dbmaker-go/laravel-dbmaker","owner":"dbmaker-go","description":"DBMaker driver for Laravel framework","archived":false,"fork":false,"pushed_at":"2024-04-16T00:38:30.000Z","size":33,"stargazers_count":0,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-15T09:26:10.043Z","etag":null,"topics":[],"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/dbmaker-go.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-05T03:19:42.000Z","updated_at":"2023-02-02T02:37:06.000Z","dependencies_parsed_at":"2024-04-16T01:46:05.815Z","dependency_job_id":"6b6253a7-e071-4ef8-b111-8d3c7a6b85b6","html_url":"https://github.com/dbmaker-go/laravel-dbmaker","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"9abb5d63deed6d12b13096b04ca6e7e5de031fbf"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dbmaker-go/laravel-dbmaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbmaker-go%2Flaravel-dbmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbmaker-go%2Flaravel-dbmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbmaker-go%2Flaravel-dbmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbmaker-go%2Flaravel-dbmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbmaker-go","download_url":"https://codeload.github.com/dbmaker-go/laravel-dbmaker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbmaker-go%2Flaravel-dbmaker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27702971,"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-12-13T02:00:09.769Z","response_time":147,"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":"2025-12-13T09:12:25.805Z","updated_at":"2025-12-13T09:12:26.358Z","avatar_url":"https://github.com/dbmaker-go.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DBMaker integration for Laravel Framework\nlaravel-dbmaker is a DBMaker service provider for Laravel. It provides DBMaker Connection by extending the Illuminate Database component of the laravel framework.\n\n### How to install\n\u003e `composer require dbmaker/laravel-odbc` To add source in your project\n\n\n### install php_odbc for dbmaker\n\nWe suggest using the libary we build\n\n1. Download URL  \u003ca href=\"https://github.com/dbmaker-go/php_ext/releases/download/1.0.0/php_dbmaker-5.4-7.3-Linux2_x86_64.tgz\"\u003ehttps://github.com/dbmaker-go/php_ext/releases/download/1.0.0/php_dbmaker-5.4-7.3-Linux2_x86_64.tgz\u003c/a\u003e and unzip\n2. According to your DBMaker version to choice bundle or standard \n3. rename pdo_odbc.ini to 20-pdo_odbc.ini and move to /etc/php.d/\n4. copy pdo_odbc.so to /usr/lib64/php/modules/\n4. `php -m` Check if the installation was successful\n\n\nyou can follow this step\n```\n# wget https://github.com/dbmaker-go/php_ext/releases/download/1.0.0/php_dbmaker-5.4-7.3-Linux2_x86_64.tgz\n# tar zxvf php_dbmaker-5.4-7.3-Linux2_x86_64.tgz\n# mv php_dbmaker/bundle/pdo_odbc.ini /etc/php.d/20-pdo-odbc.ini\n# mv php_dbmaker/bundle/pdo_odbc.so /usr/lib64/php/modules/pdo-odbc.so\n# php -m\n```\n\n\nNote: If your default installation directory of DBMaker standard is not `/home/dbmaker/5.4` or bundle is not `/opt/dbmaker`, please add installation directory to LD_LIBRARY_PATH environment variable.\n\n\n### Usage Instructions\nIt's very simple to configure:\n\n**1) Add database to database.php file**\n```PHP\n'dbmaker' =\u003e [\n    'driver' =\u003e 'odbc',\n    'dsn' =\u003e 'odbc:DSN=DBNAME',\n    'database' =\u003e 'DBNAME',\n    'host' =\u003e 'localhost',\n    'username' =\u003e 'username',\n    'password' =\u003e 'password',\n    'options' =\u003e [\n            'idcap' =\u003e 1   //please set the value same as your server db_idcap\n    ]\n]\n```\n\n**2) set default database to dbmaker**\n```PHP\n'default' =\u003e  'dbmaker',\n```\n\n**3) testing**\n\n```\n# php artisan make:command MyCommand\n```\n\n```\n# vi app/Console/Commands/MyCommand.php\n```\n\nfind \n```\nprotected $signature = 'command:name';\n```\n\nchange to\n```\nprotected $signature = 'my:command';\n```\n\nand add test code\n```\npublic function handle()\n{\n    $data= \\DB::table('TA1')-\u003eget('C1');\n\tprint_R($data);\n}\n```\n\n```\n# vi app/Console/Kernel.php\n```\n\n```\nprotected $commands = [\n    // ...\n    Commands\\MyCommand::class,  //add this\n];\n```\n\nrun\n```\n# php artisan my:command\n```\n\n\n### Laravel DB Usage\n\nConsult the \u003ca href=\"http://laravel.com/docs\" rel=\"nofollow\"\u003eLaravel framework documentation\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbmaker-go%2Flaravel-dbmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbmaker-go%2Flaravel-dbmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbmaker-go%2Flaravel-dbmaker/lists"}