Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanseer UL Hassan authored and Tanseer UL Hassan committed Dec 8, 2019
1 parent 4803c3d commit cb4aff3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,37 @@
# laravel-quotes
# Laravel Quotes Package

>This package allows you get quotes in Artisan command or get quotes in your laravel application.
**WARNING**: The package is still under development so try to not use in production.

## Installation
[Laravel](https://laravel.com/) 5+ and [Composer](https://getcomposer.org) are required.

Installation using composer:

```
composer require tanseercena/laravel-quotes
```
And if required then add the service provider in `config/app.php`:

```php
Tanseercena\Quotes\QuotesServiceProvider::class,
```

## Usage in Artisan
```bash
php artisan quote
```

## TODO


## Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

Don't forget to [follow me on twitter](https://twitter.com/tanseercena)!

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
4 changes: 2 additions & 2 deletions src/Commands/QuotesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class QuotesCommand extends Command
*
* @var string
*/
protected $signature = 'quotes';
protected $signature = 'quote';

/**
* The console command description.
Expand Down Expand Up @@ -40,7 +40,7 @@ public function handle()
{
$quotes = new Quotes();
$quote = $quotes->getQuotes();

if(!$quote){
$this->error("Can't find any quote.");
return;
Expand Down

0 comments on commit cb4aff3

Please sign in to comment.