Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emtiazzahid authored Feb 7, 2020
1 parent 46cd171 commit 65e6909
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,32 @@
[![Travis](https://img.shields.io/travis/emtiazzahid/laravel-composer.svg?style=flat-square)]()
[![Total Downloads](https://img.shields.io/packagist/dt/emtiazzahid/laravel-composer.svg?style=flat-square)](https://packagist.org/packages/emtiazzahid/laravel-composer)

![image](https://user-images.githubusercontent.com/10188029/73999285-72e4c380-498e-11ea-87cb-a834b2275e7d.png)


## Install
`composer require emtiazzahid/laravel-composer`

Add Service Provider to `config/app.php` in `providers` section
```php
Emtiazzahid\LaravelComposer\LaravelComposerServiceProvider::class,
```

Add a route in your web routes file:
```php
Route::get('composer', '\EmtiazZahid\LaravelComposer\LaravelComposerController@index');
```

Go to `http://myapp/composer` or some other route

**Optionally** publish `index.blade.php` into `/resources/views/vendor/laravel-composer/` for view customization:

```
php artisan vendor:publish \
--provider="EmtiazZahid\LaravelComposer\LaravelComposerServiceProvider" \
--tag=views
```

## Usage
Write a few lines about the usage of this package.

Expand All @@ -32,4 +55,4 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

## License
The MIT License (MIT). Please see [License File](/LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](/LICENSE.md) for more information.

0 comments on commit 65e6909

Please sign in to comment.