@@ -97,7 +97,7 @@ And thats it with the caveat of setting up and configuring your development envi
97
97
'client_id' => env('TWITCH_KEY'),
98
98
'client_secret' => env('TWITCH_SECRET'),
99
99
'redirect' => env('TWITCH_REDIRECT_URI'),
100
- ],
100
+ ],
101
101
```
102
102
5. Add the API credentials to ``` /.env ```
103
103
* Example:
@@ -111,15 +111,15 @@ And thats it with the caveat of setting up and configuring your development envi
111
111
In file ```/resources/views/auth/login.blade.php``` add ONE of the following:
112
112
* Conventional HTML:
113
113
```
114
-
114
+
115
115
<a href="{{ route('social.redirect', ['provider' => 'twitch']) }}" class="btn btn-lg btn-primary btn-block twitch">Twitch</a>
116
-
117
- ```
116
+
117
+ ```
118
118
* Use Laravel HTML Facade (recommended)
119
119
```
120
-
120
+
121
121
{!! HTML::link(route('social.redirect', ['provider' => 'twitch']), 'Twitch', array('class' => 'btn btn-lg btn-primary btn-block twitch')) !!}
122
-
122
+
123
123
```
124
124
125
125
--
@@ -154,7 +154,7 @@ Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and
154
154
155
155
[Bootstrap](http://getbootstrap.com)'s documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at [<http://getbootstrap.com>](http://getbootstrap.com).
156
156
157
- ## laravel-admin
157
+ ## laravel-auth
158
158
159
159
[](https://travis-ci.org/twbs/bootstrap)
160
160
[](https://packagist.org/packages/laravel/framework)
@@ -203,7 +203,7 @@ GOOGLE_REDIRECT=http://yourwebsiteURLhere.com/social/handle/google
203
203
204
204
### File Structure
205
205
```
206
- laravel-admin /
206
+ laravel-auth /
207
207
├── .bowerrc
208
208
├── .env
209
209
├── bower.json
@@ -216,25 +216,48 @@ laravel-admin/
216
216
├── README.md
217
217
├── server.php
218
218
├── app/
219
- │ ├── User.php
220
- │ └── Http/
221
- │ ├── kernal.php
222
- │ ├── routes.php
223
- │ ├── Controllers/
224
- │ │ ├── Auth/
225
- │ │ │ ├── AuthController.php
226
- │ │ │ └── PasswordController.php
227
- │ │ ├── adminController.php
228
- │ │ ├── Controller.php
229
- │ │ ├── UsersController.php
230
- │ │ └── WelcomeController.php
231
- │ ├── Middleware/
232
- │ │ ├── Authenticate.php
233
- │ │ ├── EncryptCookies.php
234
- │ │ ├── RedirectAuthenticated.php
235
- │ │ └── VerifyCsrfToken.php
236
- │ └── Requests/
237
- │ └── Request.php
219
+ │ ├── Http/
220
+ │ │ ├── kernal.php
221
+ │ │ ├── routes.php
222
+ │ │ ├── Controllers/
223
+ │ │ │ ├── Auth/
224
+ │ │ │ │ ├── AuthController.php
225
+ │ │ │ │ └── PasswordController.php
226
+ │ │ │ ├── Controller.php
227
+ │ │ │ ├── HomeController.php
228
+ │ │ │ ├── ProfilesController.php
229
+ │ │ │ ├── UserController.php
230
+ │ │ │ └── WelcomeController.php
231
+ │ │ ├── Middleware/
232
+ │ │ │ ├── Authenticate.php
233
+ │ │ │ ├── CheckCurrentUser.php
234
+ │ │ │ ├── EncryptCookies.php
235
+ │ │ │ ├── RedirectAuthenticated.php
236
+ │ │ │ └── VerifyCsrfToken.php
237
+ │ │ └── Requests/
238
+ │ │ └── Request.php
239
+ │ ├── Logic/
240
+ │ │ ├── Mailers/
241
+ │ │ │ ├── Mailer.php
242
+ │ │ │ └── UserMailer.php
243
+ │ │ └── User/
244
+ │ │ └── UserRepository.php
245
+ │ ├── Models/
246
+ │ │ ├── Password.php
247
+ │ │ ├── Profile.php
248
+ │ │ ├── Role.php
249
+ │ │ ├── Social.php
250
+ │ │ └── User.php
251
+ │ ├── Providers/
252
+ │ │ ├── AppServiceProvider.php
253
+ │ │ ├── BusServiceProvider.php
254
+ │ │ ├── ConfigServiceProvider.php
255
+ │ │ ├── EventServiceProvider.php
256
+ │ │ └── RouteServiceProvider.php
257
+ │ ├── Services/
258
+ │ │ └── Registrar.php
259
+ │ └── Traits/
260
+ │ └── CaptchaTrait.php
238
261
├── config/
239
262
│ ├── app.php
240
263
│ ├── auth.php
@@ -249,49 +272,66 @@ laravel-admin/
249
272
│ └── view.php
250
273
├── database/
251
274
│ ├── migrations/
252
- │ │ ├──
253
- │ │ ├──
254
- │ │ └──
275
+ │ │ ├── 2014_10_12_000000_create_users_table.php
276
+ │ │ ├── 2014_10_12_100000_create_password_resets_table.php
277
+ │ │ ├── 2015_05_15_124334_update_users_table.php
278
+ │ │ ├── 2015_10_21_173121_create_users_roles.php
279
+ │ │ ├── 2015_10_21_173333_create_user_role.php
280
+ │ │ ├── 2015_10_21_173520_create_social_logins.php
281
+ │ │ └── 2015_11_02_004932_create_profiles_table.php
255
282
│ └── seeds/
256
- │ ├──
257
- │ ├──
258
- │ └── DatabaseSeeder.php
283
+ │ ├── DatabaseSeeder.php
284
+ │ └── SeedRoles.php
259
285
├── public/
260
286
│ ├── .htaccess
261
287
│ ├── index.php
262
288
│ └── assets/
263
289
│ ├── css/
264
- │ ├── fonts
265
- │ └── js
266
- └── resources/
267
- ├── assets/
268
- ├── lang/
269
- └── views/
270
- ├── app.blade.php
271
- ├── app.home.php //TODO[ maybe.. :)~ ] : TO BE REMOVED AFTER CAN SAFELY CONFIRM OK
272
- ├── emails/
273
- │ ├── activateAccount.blade.php
274
- │ └── password.blade.php
275
- ├── auth/
276
- │ ├── activateAccount.blade.php
277
- │ ├── guest_activate.blade.php
278
- │ ├── login.blade.php
279
- │ ├── password.blade.php
280
- │ ├── register.blade.php
281
- │ ├── reset.blade.php
282
- │ └── tooManyEmails.blade.php
283
- ├── emails/
284
- │ ├── activateAccount.blade.php
285
- │ └── password.blade.php
286
- ├── errors/
287
- │ ├── 403.blade.php
288
- │ ├── 404.blade.php
289
- │ └── 503.blade.php
290
- ├── pages/
291
- │ ├── home.blade.php
292
- │ └── status.blade.php
293
- └── vendor/
294
-
290
+ │ ├── fonts/
291
+ │ └── ~~ js/~~
292
+ ├── resources/
293
+ │ ├── assets/
294
+ │ │ └── Less/
295
+ │ │ ├── bootstrap/
296
+ │ │ └── app.less
297
+ │ ├── lang/
298
+ │ │ └── en/
299
+ │ │ ├── auth.php
300
+ │ │ ├── email.php
301
+ │ │ ├── pagination.php
302
+ │ │ ├── passwords.php
303
+ │ │ ├── profile.php
304
+ │ │ ├── titles.php
305
+ │ │ └── validation.php
306
+ │ └── views/
307
+ │ ├── app.blade.php
308
+ │ ├── welcome.blade.php
309
+ │ ├── auth/
310
+ │ │ ├── activateAccount.blade.php
311
+ │ │ ├── guest_activate.blade.php
312
+ │ │ ├── login.blade.php
313
+ │ │ ├── password.blade.php
314
+ │ │ ├── register.blade.php
315
+ │ │ ├── reset.blade.php
316
+ │ │ └── tooManyEmails.blade.php
317
+ │ ├── emails/
318
+ │ │ ├── activateAccount.blade.php
319
+ │ │ └── password.blade.php
320
+ │ ├── errors/
321
+ │ │ ├── 403.blade.php
322
+ │ │ ├── 404.blade.php
323
+ │ │ └── 503.blade.php
324
+ │ ├── pages/
325
+ │ │ ├── home.blade.php
326
+ │ │ └── status.blade.php
327
+ │ ├── partials
328
+ │ │ └── nav.blade.php
329
+ │ └── profiles
330
+ │ ├── edit.blade.php
331
+ │ └── show.blade.php
332
+ ├── storage/
333
+ ├── tests/
334
+ └── vendor/
295
335
```
296
336
297
337
#### Laravel Developement Packages Used References
@@ -331,7 +371,6 @@ laravel-admin/
331
371
| ```sudo ssh [email protected] -p 222``` | Access Vagrant VM via SSH. Password is ``` vagrant ``` |
332
372
| ```mysql -u homestead -psecret``` | Access Vagrant VM MySQL. Password is ``` vagrant ``` |
333
373
334
- For reference AdminLTE can be installed into projects using Bower.
335
374
If you do not have Bower, it can be installed using Node Package Manager (NPM).
336
375
If you do not have NPM, it can be installed using NODE JS.
337
376
@@ -378,13 +417,6 @@ sudo brew tap homebrew/php
378
417
sudo brew install composer
379
418
```
380
419
381
- ###Install AdminLTE
382
- ####AdminLTE can be installed using the following command:
383
- Note: Run from projects public folder
384
- ```
385
- sudo git clone https://github.com/jeremykenedy/AdminLTE.git admin
386
- ```
387
-
388
420
#### Very Helpful Aliases
389
421
You can edit/or create your systems (MAC OS X) alias file with the follwing command:
390
422
```
@@ -691,7 +723,7 @@ Note: Replace examples URI used in Vargrant/Homestead configuration file and use
691
723
##
692
724
127.0.0.1 localhost
693
725
255.255.255.255 broadcasthost
694
- 192.168.10.10 laravel-admin .local
726
+ 192.168.10.10 laravel-authentication .local
695
727
```
696
728
697
729
---
0 commit comments