Skip to content

Commit

Permalink
fixed stub location and description
Browse files Browse the repository at this point in the history
  • Loading branch information
manchenkoff committed Sep 24, 2023
1 parent b6ee31b commit 34c4465
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ Here is a list of available methods with a quick description:
| `delete(Model $entity): Model` | deletes existing entity |
| `deleteMany(array $ids): void` | deletes many entities by ids |

Also you might want to adjust class template for your needs. You can do it by publishing package views:

```bash
php artisan vendor:publish --provider="Manchenkov\Laravel\Repositories\ServiceProvider"
```

## Development

This package is completely open-source, so any contributions are welcome!
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ServiceProvider extends BaseServiceProvider
public function boot(): void
{
$stubFiles = [
__DIR__ . '/src/Commands/stubs' => app_path('stubs'),
__DIR__ . '/Commands/stubs' => app_path('stubs'),
];

$this->publishes($stubFiles);
Expand Down

0 comments on commit 34c4465

Please sign in to comment.