Skip to content

Commit 6c2ebc2

Browse files
committed
feat: changed domain
1 parent 2062c24 commit 6c2ebc2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
MySQL Query optimization with the `EXPLAIN` command is unnecessarily complicated: The output contains a lot of cryptic information that is incomprehensible or entirely misleading.
1212

13-
This Larvel package collects many query metrics that will be sent to [explainmysql.com](https://explainmysql.com) and transformed to be much easier to understand.
13+
This Larvel package collects many query metrics that will be sent to [mysqlexplain.com](https://mysqlexplain.com) and transformed to be much easier to understand.
1414

1515
## Installation
1616

@@ -34,7 +34,7 @@ Three new methods have been added to the query builder for very easy submission
3434

3535

3636
```php
37-
// $url will be e.g. https://explainmysql.com/e/C0Omak70mLEXfok1a7Oo1n
37+
// $url will be e.g. https://mysqlexplain.com/e/C0Omak70mLEXfok1a7Oo1n
3838
$url = Film::where('description', 'like', '%astronaut%')
3939
->explainForHumans();
4040

@@ -56,7 +56,7 @@ In some cases you are executing raw SQL queries and don't use the query builder.
5656
```php
5757
use Tpetry\MysqlExplain\Facades\MysqlExplain;
5858

59-
// $url will be e.g. https://explainmysql.com/e/H1pfKQ7FH3HnH87dS64Wk1
59+
// $url will be e.g. https://mysqlexplain.com/e/H1pfKQ7FH3HnH87dS64Wk1
6060
$url = MysqlExplain::submitQuery(
6161
DB::connection('mysql'),
6262
'SELECT * FROM actor WHERE first_name = ?',

src/Helpers/ApiHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ApiHelper
1818
private Client $client;
1919

2020
public function __construct(
21-
private ?string $domain = 'https://explainmysql.com',
21+
private ?string $domain = 'https://mysqlexplain.com',
2222
?Client $client = null,
2323
) {
2424
$this->client = $client ?? new Client();

0 commit comments

Comments
 (0)