├── public ├── favicon.ico ├── robots.txt ├── mix-manifest.json ├── vendor │ └── telescope │ │ ├── favicon.ico │ │ └── mix-manifest.json ├── .htaccess ├── index.php └── svg │ ├── 404.svg │ └── 503.svg ├── storage ├── laravels.pid ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore ├── debugbar │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── database ├── .gitignore ├── factories │ ├── PageFactory.php │ ├── CommentFactory.php │ ├── PostFactory.php │ └── UserFactory.php ├── seeds │ ├── PagesTableSeeder.php │ ├── CommentsTableSeeder.php │ ├── UsersTableSeeder.php │ ├── PostsTableSeeder.php │ └── DatabaseSeeder.php └── migrations │ ├── 2018_11_30_031547_alter_posts_add_deleted_at.php │ ├── 2018_12_03_025516_alter_users_add_settings.php │ ├── 2018_12_06_031107_create_tags_table.php │ ├── 2018_12_03_014531_alter_users_add_card_no.php │ ├── 2018_12_04_025704_alter_posts_add_type.php │ ├── 2018_12_09_020359_alter_comments_add_status.php │ ├── 2019_01_08_193205_alter_users_add_point.php │ ├── 2018_12_04_022427_alter_posts_add_status.php │ ├── 2018_11_23_013950_alter_users_add_nickname.php │ ├── 2018_12_07_085904_create_images_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2018_12_07_071838_create_countries_table.php │ ├── 2018_12_07_072241_alter_users_add_country_id.php │ ├── 2018_12_06_031407_create_post_tags_table.php │ ├── 2018_12_07_134704_create_taggables_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2018_12_17_110823_create_admins_table.php │ ├── 2019_01_08_195432_create_point_logs_table.php │ ├── 2018_12_07_104431_create_comments_table.php │ ├── 2018_12_07_105229_create_pages_table.php │ ├── 2018_11_28_021221_create_posts_table.php │ └── 2018_12_06_005806_create_user_profiles_table.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── resources ├── views │ ├── user │ │ ├── profile.php │ │ └── index.blade.php │ ├── page │ │ ├── style.css │ │ └── show.blade.php │ ├── components │ │ └── alert.blade.php │ ├── welcome.blade.php │ ├── post │ │ └── index.blade.php │ ├── home.blade.php │ ├── admin │ │ ├── home.blade.php │ │ ├── login.blade.php │ │ └── register.blade.php │ ├── auth │ │ ├── verify.blade.php │ │ ├── passwords │ │ │ ├── email.blade.php │ │ │ └── reset.blade.php │ │ ├── login.blade.php │ │ └── register.blade.php │ ├── request │ │ └── form.blade.php │ └── layouts │ │ ├── app.blade.php │ │ └── admin.blade.php ├── sass │ ├── app.scss │ └── _variables.scss ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ └── passwords.php └── js │ ├── components │ ├── ExampleComponent.vue │ ├── FileUploadComponent.vue │ ├── WelcomeComponent.vue │ ├── PaginationComponent.vue │ └── passport │ │ └── AuthorizedClients.vue │ ├── app.js │ └── bootstrap.js ├── README.md ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ ├── ExampleTest.php │ └── UserTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .gitignore ├── app ├── Image.php ├── Contracts │ ├── PusherSdkInterface.php │ ├── BillerInterface.php │ ├── UserRepositoryInterface.php │ ├── BillingNotifierInterface.php │ ├── EventPusherInterface.php │ └── OrderRepositoryInterface.php ├── Models │ └── Task.php ├── Country.php ├── Extensions │ ├── CustomRequest.php │ ├── MongoHandler.php │ ├── MongoStore.php │ └── EloquentUserProvider.php ├── PostTag.php ├── UserProfile.php ├── Page.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── CheckForMaintenanceMode.php │ │ ├── TrimStrings.php │ │ ├── TrustProxies.php │ │ ├── VerifyCsrfToken.php │ │ ├── RedirectIfAuthenticated.php │ │ └── Authenticate.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── AdminController.php │ │ ├── HomeController.php │ │ ├── Admin │ │ │ ├── LoginController.php │ │ │ └── RegisterController.php │ │ ├── TaskController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── VerificationController.php │ │ │ ├── RegisterController.php │ │ │ └── LoginController.php │ │ ├── RequestController.php │ │ └── PostController.php │ ├── Requests │ │ └── SubmitFormRequest.php │ └── Kernel.php ├── Scopes │ └── EmailVerifiedAtScope.php ├── Tag.php ├── Services │ ├── SmsBillingNotifier.php │ ├── EmailBillingNotifier.php │ ├── PusherEventPusher.php │ └── StripeBiller.php ├── Repositories │ ├── UserRepository.php │ └── DummyOrderRepository.php ├── Providers │ ├── EventPusherServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── RouteServiceProvider.php │ └── TelescopeServiceProvider.php ├── PointLog.php ├── Comment.php ├── Admin.php ├── Rules │ └── SensitiveWordRule.php ├── Observers │ └── UserObserver.php ├── Events │ ├── UserDeleted.php │ └── UserDeleting.php ├── Console │ ├── Kernel.php │ └── Commands │ │ └── WelcomeMessage.php ├── Exceptions │ └── Handler.php ├── Post.php ├── User.php └── Listeners │ └── UserEventSubscriber.php ├── .editorconfig ├── bin ├── laravels └── fswatch ├── routes ├── channels.php ├── console.php └── api.php ├── webpack.mix.js ├── server.php ├── .env.example ├── package.json ├── config ├── view.php ├── services.php ├── hashing.php ├── broadcasting.php ├── filesystems.php ├── logging.php ├── queue.php ├── cache.php ├── laravels.php ├── auth.php ├── telescope.php └── mail.php ├── phpunit.xml ├── artisan └── composer.json /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/laravels.pid: -------------------------------------------------------------------------------- 1 | 209 -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/views/user/profile.php: -------------------------------------------------------------------------------- 1 | 用户ID: 2 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/views/page/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: gray; 3 | } -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # laravel-tutorial 2 | [Laravel 从入门到精通系列教程源码](https://laravelacademy.org/laravel-tutorial-5_7) 3 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js", 3 | "/css/app.css": "/css/app.css" 4 | } 5 | -------------------------------------------------------------------------------- /resources/views/page/show.blade.php: -------------------------------------------------------------------------------- 1 | 页面ID: {{ $id }} 2 |
| Name | 19 |Scopes | 20 |21 | |
|---|---|---|
| 28 | {{ token.client.name }} 29 | | 30 | 31 | 32 |33 | 34 | {{ token.scopes.join(', ') }} 35 | 36 | | 37 | 38 | 39 |40 | 41 | Revoke 42 | 43 | | 44 |