Skip to content

Commit efb8654

Browse files
authored
Update README.md
1 parent 8c49652 commit efb8654

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ This model provides an eloquent-like base class that can be used to build custom
77
Install using composer:
88

99
```
10-
$ composer require torann/remote-model
10+
$ composer require gruz/remote-model
1111
```
1212

1313
## Clients
1414

1515
### Custom request method
1616

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.
1818

1919
**Example**
2020

@@ -24,7 +24,7 @@ To implement a custom API request method in the model, simple extend the `Torann
2424
namespace App;
2525

2626
use APIClient;
27-
use Torann\RemoteModel\Model;
27+
use Gruz\RemoteModel\Model;
2828

2929
class BaseModel extends Model
3030
{
@@ -208,7 +208,7 @@ Below is an example of the service provider way of setting the client.
208208

209209
namespace App\Providers;
210210

211-
use Torann\RemoteModel\Model;
211+
use Gruz\RemoteModel\Model;
212212
use PackageName\API\Client;
213213
use Illuminate\Support\ServiceProvider;
214214

@@ -258,7 +258,7 @@ class ApiServiceProvider extends ServiceProvider
258258
namespace App;
259259

260260
use DateTime;
261-
use Torann\RemoteModel\Model as BaseModel;
261+
use Gruz\RemoteModel\Model as BaseModel;
262262

263263
class User extends BaseModel
264264
{
@@ -303,13 +303,3 @@ $item->password = 'bar';
303303

304304
echo $item; // {"name":"john"}
305305
```
306-
307-
## Change Log
308-
309-
**0.1.0**
310-
311-
- Fix parent ID bug
312-
313-
**0.0.1**
314-
315-
- First release

0 commit comments

Comments
 (0)