You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-19Lines changed: 14 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,18 +16,6 @@ Begin by installing this package through Composer. Run this command from the Ter
16
16
```bash
17
17
composer require aloha/twilio
18
18
```
19
-
If you're using Laravel 5.5+, this is all there is to do.
20
-
21
-
Should you still be on older versions of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your `config/app.php` file.
22
-
23
-
## Integration for older versions of Laravel (5.5 -)
24
-
25
-
To wire this up in your Laravel project, you need to add the service provider.
26
-
Open `app.php`, and add a new item to the providers array.
27
-
28
-
```php
29
-
'Aloha\Twilio\Support\Laravel\ServiceProvider',
30
-
```
31
19
32
20
This will register two new artisan commands for you:
33
21
@@ -46,15 +34,12 @@ line to the `aliases` array if you want to use a short class name:
In Laravel 4 you can publish the default config file to `app/config/packages/aloha/twilio/config.php` with the artisan command`config:publish aloha/twilio`.
37
+
You can publish the default config file to `config/twilio.php` with the artisan command
50
38
51
-
In Laravel 5 you can publish the default config file to `config/twilio.php` with the artisan command `vendor:publish --tag=config`.
52
-
Or to ensure you publish only this package's tag use
0 commit comments