Toby Zerner

Results 71 comments of Toby Zerner

Would love this too!

I achieve this in my app by wrapping all my views in an `` component, and putting logic in that component to determine whether to render the layout vs. just...

I'm probably going to need to hack something together for this for a client - @luceos any direction you can give as to how you'd like to see this done?

Keen for this. What would we want the API to look like? I'm not sure it warrants a whole new helper, but maybe a new method on the `Illuminate\View\Factory` class,...

![image](https://cloud.githubusercontent.com/assets/128862/23737455/1c1c50ce-04e3-11e7-8964-ab6882ffbce8.png) That's what I like to see 😍

Example usage: ```php class PostResource extends AbstractResource { protected $type = 'posts'; protected $post; public function __construct($post) { $this->post = $post; } public function getId() { return $this->post->id; } public...

Yeah I'm quite happy with `Resource`, it makes semantic sense as @crhayes pointed out. The class isn't just serialising or representing a JSON-API resource; it *is* a JSON-API resource. @crhayes...

@f3ath @franzliedke @crhayes I've been working on a rewrite of the README for the new API. I've also documented a couple other big changes, which I haven't yet implemented: *...

@f3ath Good point. How about this API: ```php trait LinksTrait { public function getLink($key); public function setLink($key, $link); public function removeLink($key); public function getLinks(); public function replaceLinks(array $links); } trait...