{"action":"opened","number":4852,"pull_request":{"url":"https://api.github.com/repos/laravel/laravel/pulls/4852","id":230354718,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMzU0NzE4","html_url":"https://github.com/laravel/laravel/pull/4852","diff_url":"https://github.com/laravel/laravel/pull/4852.diff","patch_url":"https://github.com/laravel/laravel/pull/4852.patch","issue_url":"https://api.github.com/repos/laravel/laravel/issues/4852","number":4852,"state":"open","locked":false,"title":"[^5.6] Printing blade directive from database in laravel","user":{"login":"robertnicjoo","id":8672823,"node_id":"MDQ6VXNlcjg2NzI4MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/8672823?v=4","gravatar_id":"","url":"https://api.github.com/users/robertnicjoo","html_url":"https://github.com/robertnicjoo","followers_url":"https://api.github.com/users/robertnicjoo/followers","following_url":"https://api.github.com/users/robertnicjoo/following{/other_user}","gists_url":"https://api.github.com/users/robertnicjoo/gists{/gist_id}","starred_url":"https://api.github.com/users/robertnicjoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertnicjoo/subscriptions","organizations_url":"https://api.github.com/users/robertnicjoo/orgs","repos_url":"https://api.github.com/users/robertnicjoo/repos","events_url":"https://api.github.com/users/robertnicjoo/events{/privacy}","received_events_url":"https://api.github.com/users/robertnicjoo/received_events","type":"User","site_admin":false},"body":"It would be great to return blade directives inside another directive (data stored in database)\r\n\r\n# Example + Code\r\n\r\n`{{$category->title}}` shows category title but it also stored in another table in database like `category {{$category->title}} has 45 posts and etc.` (some additional texts) then I get this in my blade:\r\n\r\n`{!!$myCustom!!}` so this `myCustom` has to print something like:\r\n\r\n```\r\ncategory LARAVEL has 45 posts and etc.\r\n```\r\n\r\nbut what I get currently is:\r\n\r\n```\r\ncategory {{$category->title}} has 45 posts and etc.\r\n```\r\n\r\nThe title part won't print.\r\n\r\n\r\n\r\n\r\n### reason I suggest/ ask for this ability\r\n\r\nIf you check [this plugin](https://www.mageworx.com/magento-seo-meta-templates-extension.html) of Magento you'll see the reason. This type of functionality can save lots of time for taking care of websites SEO also can be used for lot's of other purposes.","created_at":"2018-11-13T05:44:07Z","updated_at":"2018-11-13T05:44:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/laravel/laravel/pulls/4852/commits","review_comments_url":"https://api.github.com/repos/laravel/laravel/pulls/4852/comments","review_comment_url":"https://api.github.com/repos/laravel/laravel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/laravel/issues/4852/comments","statuses_url":"https://api.github.com/repos/laravel/laravel/statuses/db7c41ab905edf57673b1c656f438bd6abe0dde2","head":{"label":"laravel:5.6","ref":"5.6","sha":"db7c41ab905edf57673b1c656f438bd6abe0dde2","user":{"login":"laravel","id":958072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1ODA3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/958072?v=4","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":1863329,"node_id":"MDEwOlJlcG9zaXRvcnkxODYzMzI5","name":"laravel","full_name":"laravel/laravel","private":false,"owner":{"login":"laravel","id":958072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1ODA3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/958072?v=4","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/laravel/laravel","description":"A PHP framework for web artisans","fork":false,"url":"https://api.github.com/repos/laravel/laravel","forks_url":"https://api.github.com/repos/laravel/laravel/forks","keys_url":"https://api.github.com/repos/laravel/laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/laravel/teams","hooks_url":"https://api.github.com/repos/laravel/laravel/hooks","issue_events_url":"https://api.github.com/repos/laravel/laravel/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/laravel/events","assignees_url":"https://api.github.com/repos/laravel/laravel/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/laravel/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/laravel/tags","blobs_url":"https://api.github.com/repos/laravel/laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/laravel/languages","stargazers_url":"https://api.github.com/repos/laravel/laravel/stargazers","contributors_url":"https://api.github.com/repos/laravel/laravel/contributors","subscribers_url":"https://api.github.com/repos/laravel/laravel/subscribers","subscription_url":"https://api.github.com/repos/laravel/laravel/subscription","commits_url":"https://api.github.com/repos/laravel/laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/laravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/laravel/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/laravel/merges","archive_url":"https://api.github.com/repos/laravel/laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/laravel/downloads","issues_url":"https://api.github.com/repos/laravel/laravel/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/laravel/labels{/name}","releases_url":"https://api.github.com/repos/laravel/laravel/releases{/id}","deployments_url":"https://api.github.com/repos/laravel/laravel/deployments","created_at":"2011-06-08T03:06:08Z","updated_at":"2018-11-13T03:35:10Z","pushed_at":"2018-11-12T14:48:26Z","git_url":"git://github.com/laravel/laravel.git","ssh_url":"git@github.com:laravel/laravel.git","clone_url":"https://github.com/laravel/laravel.git","svn_url":"https://github.com/laravel/laravel","homepage":"https://laravel.com","size":9265,"stargazers_count":47089,"watchers_count":47089,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14595,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":14595,"open_issues":28,"watchers":47089,"default_branch":"master"}},"base":{"label":"laravel:master","ref":"master","sha":"7634bc6ab74e218f18eb55ae89fc7babeb70a10f","user":{"login":"laravel","id":958072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1ODA3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/958072?v=4","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":1863329,"node_id":"MDEwOlJlcG9zaXRvcnkxODYzMzI5","name":"laravel","full_name":"laravel/laravel","private":false,"owner":{"login":"laravel","id":958072,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1ODA3Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/958072?v=4","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/laravel/laravel","description":"A PHP framework for web artisans","fork":false,"url":"https://api.github.com/repos/laravel/laravel","forks_url":"https://api.github.com/repos/laravel/laravel/forks","keys_url":"https://api.github.com/repos/laravel/laravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/laravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/laravel/teams","hooks_url":"https://api.github.com/repos/laravel/laravel/hooks","issue_events_url":"https://api.github.com/repos/laravel/laravel/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/laravel/events","assignees_url":"https://api.github.com/repos/laravel/laravel/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/laravel/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/laravel/tags","blobs_url":"https://api.github.com/repos/laravel/laravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/laravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/laravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/laravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/laravel/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/laravel/languages","stargazers_url":"https://api.github.com/repos/laravel/laravel/stargazers","contributors_url":"https://api.github.com/repos/laravel/laravel/contributors","subscribers_url":"https://api.github.com/repos/laravel/laravel/subscribers","subscription_url":"https://api.github.com/repos/laravel/laravel/subscription","commits_url":"https://api.github.com/repos/laravel/laravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/laravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/laravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/laravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/laravel/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/laravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/laravel/merges","archive_url":"https://api.github.com/repos/laravel/laravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/laravel/downloads","issues_url":"https://api.github.com/repos/laravel/laravel/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/laravel/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/laravel/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/laravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/laravel/labels{/name}","releases_url":"https://api.github.com/repos/laravel/laravel/releases{/id}","deployments_url":"https://api.github.com/repos/laravel/laravel/deployments","created_at":"2011-06-08T03:06:08Z","updated_at":"2018-11-13T03:35:10Z","pushed_at":"2018-11-12T14:48:26Z","git_url":"git://github.com/laravel/laravel.git","ssh_url":"git@github.com:laravel/laravel.git","clone_url":"https://github.com/laravel/laravel.git","svn_url":"https://github.com/laravel/laravel","homepage":"https://laravel.com","size":9265,"stargazers_count":47089,"watchers_count":47089,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14595,"mirror_url":null,"archived":false,"open_issues_count":28,"license":null,"forks":14595,"open_issues":28,"watchers":47089,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/laravel/pulls/4852"},"html":{"href":"https://github.com/laravel/laravel/pull/4852"},"issue":{"href":"https://api.github.com/repos/laravel/laravel/issues/4852"},"comments":{"href":"https://api.github.com/repos/laravel/laravel/issues/4852/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/laravel/pulls/4852/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/laravel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/laravel/pulls/4852/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/laravel/statuses/db7c41ab905edf57673b1c656f438bd6abe0dde2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"robertnicjoo"}}