# Laravel Bakery

<div align="left"><img src="/files/-M0tB_pEyLDIYD8oY2j8" alt=""></div>

**Laravel Bakery by JTC Labs is currently being built and documented.**

Laravel Bakery is an open source project by [JohnoTheCoder](https://johnothecoder.uk?ref=bakery) at [JTC Labs](https://jtclabs.com?ref=bakery) and it aims to improve the speed, ease, and efficiency of creating and managing Eloquent Models as RESTful Resources.

The name "Laravel Bakery" is derived from the common term "BREAD" meaning to "Browse, Read, Edit, Add, Delete", the above can be managed as GET (collection), GET (resource), PUT, PATCH, POST, and DELETE HTTP methods.

The package allows the management of many common tasks for Eloquent Model based RESTful resources, which are detailed on the relevant pages.

Being a Laravel Package all classes are injected using the Laravel Service Container, consequently you can modify this functionality at runtime.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bakery.jtclabs.com/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
