{"id":14975216,"url":"https://github.com/cagartner/laravel-sqlanywhere","last_synced_at":"2025-10-02T04:31:47.494Z","repository":{"id":17480875,"uuid":"20261285","full_name":"cagartner/laravel-sqlanywhere","owner":"cagartner","description":"A Sybase Driver based Eloquent model and Query builder for Laravel 4","archived":false,"fork":true,"pushed_at":"2015-07-02T13:55:23.000Z","size":652,"stargazers_count":5,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-28T20:03:51.714Z","etag":null,"topics":["laravel-4-package","php-library","sybase"],"latest_commit_sha":null,"homepage":"http://carlosgartner.com.br","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mongodb/laravel-mongodb","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cagartner.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":"2014-05-28T14:48:54.000Z","updated_at":"2020-03-22T21:23:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cagartner/laravel-sqlanywhere","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cagartner%2Flaravel-sqlanywhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cagartner%2Flaravel-sqlanywhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cagartner%2Flaravel-sqlanywhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cagartner%2Flaravel-sqlanywhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cagartner","download_url":"https://codeload.github.com/cagartner/laravel-sqlanywhere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234934662,"owners_count":18909707,"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-4-package","php-library","sybase"],"created_at":"2024-09-24T13:51:43.438Z","updated_at":"2025-10-02T04:31:47.155Z","avatar_url":"https://github.com/cagartner.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel SQLAnyWhere\n============\n\nAdds an Sybase driver to Laravel 4, usable with Fluent and Eloquent.\n\n#Importante!\nAinda tem alguns BUGs em relação ao Schema para criar e modificar tabelas.\n\n#Todo\n    - Integração com Migrate, não está 100% :/\n    - Testes para encontrar Bugs\n\n\nInstallation\n============\n\nAdd `cagartner\\laravel-sqlanywhere` and `cagartner/sql-anywhere-client` as a requirement to composer.json:\n\n```javascript\n{\n    \"require\": {\n        \"cagartner/sql-anywhere-client\": \"dev-master\",\n        \"cagartner/laravel-sqlanywhere\": \"dev-master\"\n    }\n}\n```\n\nUpdate your packages with `composer update` or install with `composer install`.\n\nOnce Composer has installed or updated your packages you need to register \nLaravelODBC and the package it uses (extradb) with Laravel itself. \nOpen up `app/config/app.php` and \nfind the providers key towards the bottom.\n\n\n Add the following to the list of providers:\n```php\n'Cagartner\\SQLAnywhere\\SQLAnywhereServiceProvider',\n```\n\nYou won't need to add anything to the aliases section.\n\n\nConfiguration\n=============\n\nThere is no separate package configuration file for LaravelODBC.  You'll just add a new array to the `connections` array in `app/config/database.php`.\n\n```\n\t\t'sqlanywhere' =\u003e array(\n            'host'        =\u003e 'tcpip{host=127.0.0.1;port=2638}',\n            'username'    =\u003e 'teste-conexao',\n            'password'    =\u003e 'teste',\n            'database'    =\u003e 'teste-conexao',\n            'auto_commit' =\u003e true,\n            'persintent'  =\u003e false,\n            'charset'     =\u003e 'utf8',\n        ),\n```\n\nThe ODBC driver is different from the pre-installed ones in that you're going to pass in the DSN instead of having Laravel build it for you.  There are just too many ways to configure an ODBC database for this package to do it for you.\nSome sample configurations are at [php.net](http://php.net/manual/en/ref.pdo-odbc.connection.php).\n\n**Don't forget to update your default database connection.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcagartner%2Flaravel-sqlanywhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcagartner%2Flaravel-sqlanywhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcagartner%2Flaravel-sqlanywhere/lists"}