├── public ├── favicon.ico ├── robots.txt ├── images │ ├── whale.png │ ├── favicon.ico │ └── slider.jpg ├── mix-manifest.json ├── fonts │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── ODelI1aHBYDBqgeIAH2zlJbPFduIYtoLzwST68uhz_Y.woff2 │ ├── toadOcfmlt9b38dHJxOBGCP2LEk6lMzYsRqr3dHFImA.woff2 │ ├── toadOcfmlt9b38dHJxOBGJkF8H8ye47wsfpWywda8og.woff2 │ ├── toadOcfmlt9b38dHJxOBGMzFoXZ-Kj537nB_-9jJhlA.woff2 │ └── whale.svg ├── .htaccess ├── web.config ├── index.php └── js │ ├── plugins │ └── html5shiv.js │ └── url.js ├── database ├── .gitignore ├── seeds │ ├── RolesTableSeeder.php │ ├── UsersTableSeeder.php │ ├── DatabaseSeeder.php │ ├── FriendshipsTableSeeder.php │ ├── PermissionsTableSeeder.php │ ├── CategoriesTableSeeder.php │ ├── TagsTableSeeder.php │ └── TriggersTableSeeder.php ├── factories │ └── UserFactory.php └── migrations │ ├── 2017_11_12_223112_create_targets_table.php │ ├── 2017_11_13_204352_create_favorites_table.php │ ├── 2017_11_12_212626_create_tags_table.php │ ├── 2017_11_12_160543_create_proposals_table.php │ ├── 2017_11_12_204925_create_nominates_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2017_11_12_153948_create_friendships_table.php │ ├── 2017_11_11_162910_create_categories_table.php │ ├── 2017_11_05_150646_create_menus_table.php │ └── 2017_11_12_023826_create_triggers_table.php ├── bootstrap ├── cache │ └── .gitignore ├── app.php └── helpers.php ├── storage ├── logs │ └── .gitignore ├── app │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── resources ├── assets │ ├── images │ │ └── slider.jpg │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── ODelI1aHBYDBqgeIAH2zlJbPFduIYtoLzwST68uhz_Y.woff2 │ │ ├── toadOcfmlt9b38dHJxOBGCP2LEk6lMzYsRqr3dHFImA.woff2 │ │ ├── toadOcfmlt9b38dHJxOBGJkF8H8ye47wsfpWywda8og.woff2 │ │ └── toadOcfmlt9b38dHJxOBGMzFoXZ-Kj537nB_-9jJhlA.woff2 │ ├── js │ │ ├── app.js │ │ └── bootstrap.js │ └── sass │ │ └── nprogress.scss ├── views │ ├── admin │ │ ├── layouts │ │ │ ├── footer.blade.php │ │ │ ├── basic.blade.php │ │ │ ├── menus.blade.php │ │ │ └── app.blade.php │ │ ├── errors │ │ │ └── unauthentication.blade.php │ │ ├── auths │ │ │ └── login.blade.php │ │ ├── permissions │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ ├── tags │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ ├── users │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ ├── roles │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ ├── menus │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ ├── categorys │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ │ └── friendships │ │ │ ├── create.blade.php │ │ │ └── edit.blade.php │ ├── layouts │ │ ├── footer.blade.php │ │ ├── tools.blade.php │ │ └── app.blade.php │ ├── index │ │ ├── about.blade.php │ │ ├── friendships.blade.php │ │ └── index.blade.php │ ├── nominates │ │ └── nominate.blade.php │ ├── proposals │ │ └── proposal.blade.php │ └── tiggers │ │ └── show.blade.php └── lang │ ├── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php │ ├── zh-CN │ ├── pagination.php │ ├── auth.php │ └── passwords.php │ └── vendor │ └── backup │ ├── da │ └── notifications.php │ ├── ar │ └── notifications.php │ ├── en │ └── notifications.php │ ├── uk │ └── notifications.php │ ├── de │ └── notifications.php │ ├── it │ └── notifications.php │ ├── ru │ └── notifications.php │ ├── pt-BR │ └── notifications.php │ ├── fr │ └── notifications.php │ ├── ro │ └── notifications.php │ └── es │ └── notifications.php ├── .gitattributes ├── app ├── Exceptions │ ├── ValidatorException.php │ └── Handler.php ├── Blades │ ├── Blade.php │ └── MenuBlade.php ├── Observers │ ├── UserObserver.php │ └── Observer.php ├── Models │ ├── Friendship.php │ ├── Tag.php │ ├── Category.php │ ├── Nominate.php │ ├── Proposal.php │ ├── Target.php │ ├── Menu.php │ ├── Trigger.php │ ├── User.php │ ├── Traits │ │ └── Helpers.php │ └── Favorite.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrustProxies.php │ │ └── Authentication.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── CategorysController.php │ │ ├── NominatesController.php │ │ ├── ProposalsController.php │ │ ├── Traits │ │ │ └── Helpers.php │ │ ├── Admin │ │ │ ├── AuthController.php │ │ │ ├── IndexController.php │ │ │ ├── NominatesController.php │ │ │ ├── TargetsController.php │ │ │ ├── ProposalsController.php │ │ │ └── MenusController.php │ │ ├── IndexController.php │ │ └── TriggersController.php │ └── Kernel.php ├── Services │ └── MenuService.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AuthServiceProvider.php │ ├── AppServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php └── Console │ ├── Commands │ └── ConserveTarget.php │ └── Kernel.php ├── .gitignore ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── config ├── hunt.php ├── image.php ├── view.php ├── services.php ├── poems.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── cache.php └── permission.php ├── routes ├── channels.php ├── api.php ├── console.php ├── web.php └── admin.php ├── server.php ├── .env.example ├── webpack.mix.js ├── package.json ├── phpunit.xml ├── composer.json ├── artisan └── readme.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/images/whale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/images/whale.png -------------------------------------------------------------------------------- /public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/images/favicon.ico -------------------------------------------------------------------------------- /public/images/slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/images/slider.jpg -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/css/app.css": "/css/app.css", 3 | "/js/app.js": "/js/app.js" 4 | } -------------------------------------------------------------------------------- /resources/assets/images/slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/images/slider.jpg -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /resources/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Seaony/Hunt/HEAD/resources/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /app/Exceptions/ValidatorException.php: -------------------------------------------------------------------------------- 1 | 2 |
Developed By SeaonyZrl
3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | /.idea 7 | /.vagrant 8 | Homestead.json 9 | Homestead.yaml 10 | npm-debug.log 11 | yarn-error.log 12 | .env 13 | -------------------------------------------------------------------------------- /app/Observers/UserObserver.php: -------------------------------------------------------------------------------- 1 | api_token = str_random(64); 10 | } 11 | } -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | hasMany(Trigger::class); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Models/Category.php: -------------------------------------------------------------------------------- 1 | hasMany(Trigger::class); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Models/Nominate.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /resources/views/layouts/footer.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | menus = Cache::remember('menus', 120, function() { 15 | return Menu::tops()->with('childers')->orderBy('weight', 'desc')->get(); 16 | }); 17 | } 18 | } -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /config/hunt.php: -------------------------------------------------------------------------------- 1 | '', 5 | 6 | 'keywords' => 'Web 开发工程师师网站导航, PHP 资源导航, 前端资源导航, CSS导航,HTML导航, DIV+CSS, Homestead, Vuejs, React, Web 开发, 设计导航, 运营导航, 极客导航 hunt.seaony.cn', 7 | 8 | 'description' => '糖果盒子是一个专注 Web 开发工程师的分类导航,专注分享优质 Web开发资源站点,是 Web 开发工程师的书签导航,设计教程、开发规范、颜色搭配、灵感创意、前端框架、数据库管理、开发者工具、互联网新品推荐、运营数据分析、自媒体和工具利器好用的分类导航大全', 9 | ]; -------------------------------------------------------------------------------- /app/Models/Target.php: -------------------------------------------------------------------------------- 1 | belongsTo(Trigger::class); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | triggers->groupBy('tag_id')->toArray(); 14 | $tags = Tag::whereIn('id', array_keys($triggers))->sort()->get(); 15 | return view('categorys.index', compact('category', 'triggers', 'tags')); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /database/seeds/RolesTableSeeder.php: -------------------------------------------------------------------------------- 1 | 'Admin', 'name' => 'admin', 'describe' => '后台管理员'] 18 | )->syncPermissions( 19 | Permission::pluck('name')->toArray() 20 | ); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /database/seeds/UsersTableSeeder.php: -------------------------------------------------------------------------------- 1 | 'admin', 18 | 'email' => 'admin@admin.com', 19 | 'password' => '123456', 20 | ])->syncRoles(Role::pluck('name')->toArray()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /resources/views/layouts/tools.blade.php: -------------------------------------------------------------------------------- 1 |{{ poem() }}
9 | 23 | 24 | 35 | @include('admin.layouts.footer') 36 | @stop -------------------------------------------------------------------------------- /app/Http/Controllers/Admin/IndexController.php: -------------------------------------------------------------------------------- 1 | validator('admin.upload')); 34 | } catch (ValidatorException $exception) { 35 | return failed($exception->getMessage()); 36 | } 37 | 38 | return succeed(['url' => $this->fetch($file)]); 39 | } 40 | 41 | public function clear() 42 | { 43 | cache()->forget('menus'); 44 | return succeed('缓存清除成功。'); 45 | } 46 | 47 | public function examples() 48 | { 49 | return view('admin.index.examples'); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /resources/views/index/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('body') 4 |{{ poem() }}
8 | 9 | 我的盒子 10 |39 | 40 | 你还没有在盒子里放糖果哦。 41 |
42 | @endforelse 43 |糖果盒子 - WEB 开发者的书签导航
2 |
