Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhall17 authored May 11, 2024
1 parent 6f796ad commit 70ed7f2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We invest a lot in creating [open source packages](https://macsidigital.co.uk/op

## Installation

This package can be used in Laravel 6.0 or higher.
This package can be used in Laravel 10.0 or higher with PHP 8.0 and higher. There are older versions which go back to PHP7.4 and Laravel 6.

You can install the package via composer:

Expand All @@ -43,6 +43,16 @@ Add a uuid field
});
```

Add the trait to get automatic UUID generation

``` php
class FakeModel extends Model

use GeneratesUuid;

});
```

That's it! unless we use a different column name for the uuid field, then we add the following method.

``` php
Expand Down

0 comments on commit 70ed7f2

Please sign in to comment.