auth.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Default Authentication Driver
  6. |--------------------------------------------------------------------------
  7. |
  8. | Laravel uses a flexible driver-based system to handle authentication.
  9. | You are free to register your own drivers using the Auth::extend
  10. | method. Of course, a few great drivers are provided out of
  11. | box to handle basic authentication simply and easily.
  12. |
  13. | Drivers: 'fluent', 'eloquent'.
  14. |
  15. */
  16. 'driver' => 'eloquent',
  17. /*
  18. |--------------------------------------------------------------------------
  19. | Authentication Model
  20. |--------------------------------------------------------------------------
  21. |
  22. | When using the "eloquent" authentication driver, you may specify the
  23. | model that should be considered the "User" model. This model will
  24. | be used to authenticate and load the users of your application.
  25. |
  26. */
  27. 'model' => 'User',
  28. /*
  29. |--------------------------------------------------------------------------
  30. | Authentication Table
  31. |--------------------------------------------------------------------------
  32. |
  33. | When using the "fluent" authentication driver, the database table used
  34. | to load users may be specified here. This table will be used in by
  35. | the fluent query builder to authenticate and load your users.
  36. |
  37. */
  38. 'table' => 'users',
  39. );