Create Post
6 |Please separate tags with a comma.
35 | 36 |* Please complete all mandatory fields.
41 | 42 |├── public
├── favicon.ico
├── robots.txt
├── images
│ ├── hero.jpg
│ ├── hero_image.png
│ ├── slack-button.png
│ ├── default-avatar.png
│ ├── wang-xi-349509.jpg
│ └── social
│ │ ├── google-share.jpg
│ │ ├── twitter-share.jpg
│ │ └── facebook-share.jpg
├── .htaccess
├── web.config
└── index.php
├── database
├── .gitignore
├── factories
│ ├── RoleFactory.php
│ ├── PromotionFactory.php
│ ├── PostFactory.php
│ └── UserFactory.php
├── seeds
│ ├── DatabaseSeeder.php
│ ├── UserTableSeeder.php
│ ├── RoleSeeder.php
│ └── ProfileKeysTableSeeder.php
└── migrations
│ ├── 2018_02_08_221421_create_roles_table.php
│ ├── 2018_02_08_224146_add_location_to_user_table.php
│ ├── 2018_02_04_144227_add_post_type_to_posts_table.php
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2018_02_03_154644_add_slack_id_to_user_table.php
│ ├── 2014_10_12_000000_create_users_table.php
│ ├── 2018_03_04_133849_create_profile_keys_table.php
│ ├── 2018_02_04_192742_create_social_links_table.php
│ ├── 2018_02_03_143413_create_posts_table.php
│ ├── 2018_02_04_204455_create_comments_table.php
│ ├── 2018_02_08_221628_role_user.php
│ ├── 2018_02_04_191245_create_profiles_table.php
│ ├── 2018_03_04_195413_create_promotions_table.php
│ ├── 2018_03_04_133955_remove_profiles_columns_and_add_key_pairs.php
│ └── 2018_02_04_183153_add_slack_fields_to_user_table.php
├── resources
├── assets
│ ├── js
│ │ ├── backend
│ │ │ ├── vuex
│ │ │ │ └── index.js
│ │ │ ├── helpers
│ │ │ │ └── index.js
│ │ │ ├── app
│ │ │ │ ├── index.js
│ │ │ │ ├── routes.js
│ │ │ │ ├── home
│ │ │ │ │ ├── components
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── Dashboard.vue
│ │ │ │ │ └── routes
│ │ │ │ │ │ └── index.js
│ │ │ │ └── blog
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── components
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── PostEdit.vue
│ │ │ │ │ ├── PostCreate.vue
│ │ │ │ │ └── PostShow.vue
│ │ │ │ │ └── routes
│ │ │ │ │ └── index.js
│ │ │ ├── router
│ │ │ │ └── index.js
│ │ │ ├── components
│ │ │ │ └── App.vue
│ │ │ └── backend.js
│ │ ├── components
│ │ │ ├── SiteFooter.vue
│ │ │ └── Dropdown.vue
│ │ ├── frontend
│ │ │ └── app.js
│ │ └── bootstrap.js
│ ├── sass
│ │ ├── components
│ │ │ ├── _homepage.scss
│ │ │ ├── _nav.scss
│ │ │ ├── _links.scss
│ │ │ ├── _ratios.scss
│ │ │ └── _forms.scss
│ │ ├── _variables.scss
│ │ └── app.scss
│ └── img
│ │ └── default-avatar.png
├── views
│ ├── backend
│ │ ├── dashboard.blade.php
│ │ ├── master.blade.php
│ │ └── partials
│ │ │ └── nav.blade.php
│ ├── frontend
│ │ ├── partials
│ │ │ ├── header.blade.php
│ │ │ ├── footer.blade.php
│ │ │ ├── nav.blade.php
│ │ │ ├── metadata.blade.php
│ │ │ └── logo.blade.php
│ │ ├── home
│ │ │ ├── partials
│ │ │ │ ├── sponsor.blade.php
│ │ │ │ ├── latest-resources.blade.php
│ │ │ │ ├── hero.blade.php
│ │ │ │ ├── latest-interviews.blade.php
│ │ │ │ ├── introduction.blade.php
│ │ │ │ └── latest-posts.blade.php
│ │ │ └── index.blade.php
│ │ ├── profile.blade.php
│ │ ├── master.blade.php
│ │ └── posts
│ │ │ ├── index.blade.php
│ │ │ └── show.blade.php
│ └── auth
│ │ ├── login.blade.php
│ │ └── passwords
│ │ ├── reset.blade.php
│ │ └── email.blade.php
└── lang
│ └── en
│ ├── pagination.php
│ ├── auth.php
│ └── passwords.php
├── bootstrap
├── cache
│ └── .gitignore
└── app.php
├── storage
├── debugbar
│ └── .gitignore
├── logs
│ └── .gitignore
├── app
│ ├── public
│ │ └── .gitignore
│ └── .gitignore
└── framework
│ ├── cache
│ └── .gitignore
│ ├── testing
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── laraveluk
├── tests
├── .DS_Store
├── CreatesApplication.php
├── Unit
│ ├── UserTest.php
│ └── PostTest.php
├── TestCase.php
└── Feature
│ ├── ViewPostsTest.php
│ └── PromotionsTest.php
├── .gitattributes
├── .env.travis
├── app
├── Enums
│ └── ProfileKeys.php
├── Models
│ ├── Promotion.php
│ ├── ProfileKey.php
│ ├── Role.php
│ ├── SocialLinks.php
│ ├── Comment.php
│ ├── Profile.php
│ ├── Post.php
│ └── User.php
├── Http
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ └── RedirectIfAuthenticated.php
│ ├── Controllers
│ │ ├── MemberDashboardController.php
│ │ ├── Controller.php
│ │ ├── ProfileShowController.php
│ │ ├── Blog
│ │ │ ├── CommentController.php
│ │ │ ├── PostTagController.php
│ │ │ └── PostController.php
│ │ ├── Api
│ │ │ ├── UtilController.php
│ │ │ ├── UserController.php
│ │ │ ├── PromotionsController.php
│ │ │ ├── ProfileController.php
│ │ │ └── PostController.php
│ │ ├── Auth
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── LoginController.php
│ │ │ ├── ResetPasswordController.php
│ │ │ ├── SlackLoginController.php
│ │ │ └── RegisterController.php
│ │ └── PagesController.php
│ └── Kernel.php
├── Providers
│ ├── BroadcastServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── EventServiceProvider.php
│ ├── AuthServiceProvider.php
│ └── RouteServiceProvider.php
├── Policies
│ ├── PromotionPolicy.php
│ └── PostPolicy.php
├── Console
│ └── Kernel.php
└── Exceptions
│ └── Handler.php
├── .gitignore
├── .editorconfig
├── .travis.yml
├── routes
├── channels.php
├── console.php
├── web.php
└── api.php
├── config
├── hashing.php
├── slack.php
├── laraveluk.php
├── view.php
├── passwordreset.php
├── services.php
├── broadcasting.php
├── taggable.php
├── logging.php
├── filesystems.php
├── queue.php
├── cache.php
├── auth.php
└── mail.php
├── deploy
├── server.php
├── .env.example
├── webpack.mix.js
├── phpunit.xml
├── package.json
├── artisan
├── composer.json
└── README.md
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/resources/assets/js/backend/vuex/index.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/resources/assets/js/backend/helpers/index.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/storage/debugbar/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/laraveluk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/laraveluk
--------------------------------------------------------------------------------
/resources/assets/js/backend/app/index.js:
--------------------------------------------------------------------------------
1 | export { default as routes } from './routes'
--------------------------------------------------------------------------------
/tests/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/tests/.DS_Store
--------------------------------------------------------------------------------
/public/images/hero.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/hero.jpg
--------------------------------------------------------------------------------
/public/images/hero_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/hero_image.png
--------------------------------------------------------------------------------
/public/images/slack-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/slack-button.png
--------------------------------------------------------------------------------
/resources/assets/sass/components/_homepage.scss:
--------------------------------------------------------------------------------
1 | .hero {
2 | background-image: url("../images/hero.jpg");
3 | }
4 |
--------------------------------------------------------------------------------
/public/images/default-avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/default-avatar.png
--------------------------------------------------------------------------------
/public/images/wang-xi-349509.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/wang-xi-349509.jpg
--------------------------------------------------------------------------------
/public/images/social/google-share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/social/google-share.jpg
--------------------------------------------------------------------------------
/public/images/social/twitter-share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/taylorotwell/website/HEAD/public/images/social/twitter-share.jpg
--------------------------------------------------------------------------------
/resources/views/backend/dashboard.blade.php:
--------------------------------------------------------------------------------
1 | @extends('backend.master')
2 |
3 | @section('content')
4 |
5 | Many thanks to SnapShooter.io for sponsoring the hosting of our website. SnapShooter helps you to schedule frequent customizable DigitalOcean backups of your droplets and volumes. 6 |
7 |
17 | {{ print_r($user) }}
18 |
19 |
20 |
21 | @stop
22 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 | Watch this space for a list of helpful resources and links shared by our members.
7 |
11 |
12 | @endguest
13 | 9 | Laravel UK recently had a chat with one of us, Simon Bennet, creator of Snapshooter.io. 10 |
11 |8 | If you are already a member of the LaravelUK Slack community, then you will know what an amazing place it is to be. If you haven’t joined us yet, then you really should. 9 |
10 |11 | The skill levels range from learner to decades of experience in PHP and many other languages; from junior developers to business owners, entrepreneurs, conference speakers and book authors. 12 | 13 | All you need to do is sign up on our website and you'll receive a Slack invitation in your email inbox. 14 |
15 |16 | See you soon 😁 17 |
18 |21 | @section('js') 22 | 23 | @endsection 24 |@laravelphp @laravelnews @taylorotwell @jeffrey_way @alexjgarrett Can somebody check my #laravel #php code for me please? 😄 pic.twitter.com/MtqYAK8APc
— barry (@SymfonyCoda) 1 March 2017
20 | 21 | {{ str_limit($post->title, 40) }} 22 | 23 |
24 |{{$post->created_at->format('jS F Y')}}
25 | 26 | @if ($post->tags) 27 | @foreach ($post->tags as $tag) 28 | 29 | @if (!$loop->last) 30 | {{$tag}}, 31 | @else 32 | {{$tag}} 33 | @endif 34 | 35 | @endforeach 36 | @endif 37 | 38 |Please separate tags with a comma.
35 | 36 |* Please complete all mandatory fields.
41 | 42 |36 | @switch($post->post_type) 37 | @case('post') 38 | News 39 | @break 40 | @case('tutorials') 41 | Tutorial 42 | @break 43 | @case('events') 44 | Event 45 | @break 46 | @case('interviews') 47 | Interview 48 | @break 49 | @default 50 | News 51 | @break 52 | @endswitch 53 |
54 |{!! $post->excerpt !!}
58 |
--}}
61 | {{ $post->author->name }}
63 |{{ $post->created_at->format('jS F Y') }}
64 |
--}}
14 | 17 | {!! nl2br($post->body) !!} 18 |
{{$comment->author->name}}
45 |{{$comment->created_at->format('jS M Y H:i')}}
46 |Sign In With
78 | 79 |
80 |
81 |