You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-15Lines changed: 5 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,14 @@ This model provides an eloquent-like base class that can be used to build custom
7
7
Install using composer:
8
8
9
9
```
10
-
$ composer require torann/remote-model
10
+
$ composer require gruz/remote-model
11
11
```
12
12
13
13
## Clients
14
14
15
15
### Custom request method
16
16
17
-
To implement a custom API request method in the model, simple extend the `Torann\RemoteModel\Model` class and use that extended model in the app models.
17
+
To implement a custom API request method in the model, simple extend the `Gruz\RemoteModel\Model` class and use that extended model in the app models.
18
18
19
19
**Example**
20
20
@@ -24,7 +24,7 @@ To implement a custom API request method in the model, simple extend the `Torann
24
24
namespace App;
25
25
26
26
use APIClient;
27
-
use Torann\RemoteModel\Model;
27
+
use Gruz\RemoteModel\Model;
28
28
29
29
class BaseModel extends Model
30
30
{
@@ -208,7 +208,7 @@ Below is an example of the service provider way of setting the client.
208
208
209
209
namespace App\Providers;
210
210
211
-
use Torann\RemoteModel\Model;
211
+
use Gruz\RemoteModel\Model;
212
212
use PackageName\API\Client;
213
213
use Illuminate\Support\ServiceProvider;
214
214
@@ -258,7 +258,7 @@ class ApiServiceProvider extends ServiceProvider
0 commit comments