crate / crate/crate-pdo

Document use with Laravel

Open
#194 9 comments 0 reactions 0 assignees View on GitHub
docs
Dominant language
PHP
Stars
35
Forks
19
PR merge metrics
No merged PRs in 30d

Description

> i am using laravel `11.42.1` (latest version) and i am able to connect to crate and get data like this:
>
> ```php
> $connection = app(CrateDB::class)->createConnection();
> $stmt = $connection->query('SELECT id FROM something LIMIT 3');
> $rows = $stmt->doFetchAll(PDO::FETCH_ASSOC);
> ```
>
> and everything is working fine 🤷 😏

_Originally posted by @michabbb in [#160](https://github.com/crate/crate-pdo/issues/160#issuecomment-2654879354)_

Contributor guide

Open the contributing guide

Research direction

Start by reading the Laravel usage example quoted from issue #160 and identify the project's existing documentation entry point; this issue names no file or test. Done means adding clear documentation for using crate-pdo with Laravel, including the demonstrated connection and query flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.