Skip to content

Commit 4450270

Browse files
committed
Add readme
1 parent 4de54bf commit 4450270

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## Laravel DB Commands
2+
3+
Package with laravel database commands.
4+
5+
### Installation
6+
7+
```bash
8+
composer require mcmatters/laravel-db-commands
9+
```
10+
11+
Include the service provider within your `config/app.php` file.
12+
13+
```php
14+
'providers' => [
15+
McMatters\DbCommands\ServiceProvider::class,
16+
]
17+
```
18+
19+
## Usage
20+
21+
Available commands:
22+
23+
* `php artisan db:drop-tables` — drops all tables.
24+
* `php artisan migrate:single {file}` — migrate single migration by filename.

0 commit comments

Comments
 (0)