https://github.com/mcmatters/laravel-db-commands
https://github.com/mcmatters/laravel-db-commands
laravel laravel-command laravel-package
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcmatters/laravel-db-commands
- Owner: MCMatters
- Created: 2017-06-14T11:25:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T20:09:22.000Z (almost 5 years ago)
- Last Synced: 2025-03-26T12:47:06.723Z (3 months ago)
- Topics: laravel, laravel-command, laravel-package
- Language: PHP
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel DB Commands
Package with laravel database commands.
### Installation
```bash
composer require mcmatters/laravel-db-commands
```If you don't use package discovering feature, then just include the service provider within your `config/app.php` file.
```php
'providers' => [
McMatters\LaravelDbCommands\ServiceProvider::class,
]
```## Usage
Available commands:
* `php artisan db:drop-tables` — drops all tables.
* `php artisan migrate:single {"file" or "class"}` — migrate single migration by file or class name.
* `php artisan migrate:drop-single {"file" or "class"}` — drop single migration by file or class name.