# Directory Structure

Electrik is a non-intrusive package. It will not interfere with your existing structure. Most of the project is based on Laravel's directory structure. You can read more about it [here](https://laravel.com/docs/9.x/structure).

However, for the documentation here is how Electrik is structured:

* art (contains a screenshot of the dashboard you see after logging in)
* config&#x20;
* database/migrations
* resources/views&#x20;
* routes&#x20;
* src&#x20;
* stubs&#x20;
* .gitignore&#x20;
* LICENSE&#x20;
* README.md&#x20;
* composer.json&#x20;
* composer.lock

### Art Directory

Art directory contains screenshots and graphics which are used for various documentations and readme files. They are not required or used in the application anywhere.

### Config Directory

For Electrik to work properly, it needs to modify some values in default configuration files like auth.php, livewire.php, etc. You can take a look at the files to understand what has changed.

### Database/Migrations

Similar to configuration, Electrik also needs to modify the table structure of existing packages to make it compatible with some features of Electrik. For example, we need to add `team_id` to Cashier's subscription table to make sure it works for the team rather than a user in the system.

### Stubs Directory

This directory contains stubs required for building the Electrik components


---

# 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://docs.electrik.dev/1.x/getting-started/directory-structure.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.
