Skip to content

Commit f20d180

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 3561aad + 3b2339d commit f20d180

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Database Repository
1+
# Database Repository / PHP Repository / Laravel Repository
22

33
## Installation
44
Use following command to add this package to composer development requirement.
55
```bash
66
composer require nanvaie/database-repository --dev
77
```
88

9-
### Setup for Laravel
9+
### Setup Laravel Repository
1010
Before publishing assets, add `REPOSITORY_PHP_VERSION` variable to `.env` and set it to your version of choosing. Supported values are: 8.0, 7.4 (Default is 8.0).
1111

1212
Then run following command in console to publish necessary assets in your project directory.
1313
```bash
1414
php artisan vendor:publish --provider=Nanvaie\DatabaseRepository\DatabaseRepositoryServiceProvider
1515
```
1616

17-
### Setup for Lumen
17+
### Setup Lumen Repository
1818
Navigate to `app.php` in `bootstrap` folder and add following line after service providers registrations:
1919
```php
2020
// snip
@@ -55,4 +55,4 @@ php artisan command:make-entity users
5555
Example 2. Create all necessary classes for two tables named 'users' and 'customers' with enabled foreign key option.
5656
```bash
5757
php artisan command:make-all-repository users customers -k
58-
```
58+
```

0 commit comments

Comments
 (0)