-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46cd171
commit 65e6909
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
||
|
@@ -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. |