> For the complete documentation index, see [llms.txt](https://docs.opensoutheners.com/oss/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opensoutheners.com/oss/extended-laravel/commands.md).

# Commands

Added commands on top of the replacements did on top of the functionality of the Laravel ones.

### Make commands

All make commands from the framework are replaced to use the `OpensGeneratedFiles` trait which contains a method called `openGeneratedAfter` to open the generated file with an IDE configured.

{% hint style="info" %}
**Compatible IDEs are the following:**

`sublime`, `textmate`, `emacs`, `macvim`, `phpstorm`, `idea`, `vscode`, `vscode-insiders`, `vscode-remote`, `vscode-insiders-remote`, `atom`, `nova`, `netbeans`, `zed`
{% endhint %}

### Make builder

Make custom query builder class (Eloquent) for a specified model name.

```bash
php artisan make:builder User
```

### Horizon flush

Flush horizon database (normally Redis) with records of past jobs.

```bash
php artisan horizon:flush
```

### Queue batches

List all queued jobs sent as batches.

```bash
php artisan queue:batches
```

### Clear atomic locks

{% hint style="warning" %}
Use carefully on production environments, anyway it should ask to confirmation when running on production.
{% endhint %}

Clear all cache locks, [atomic locks](https://laravel.com/docs/11.x/cache#atomic-locks) from Laravel.

```bash
php artisan cache:clearLocks
```

### Check vendor dependencies

Check and list all the config and publishable group that is outdated on your app.

```bash
php artisan vendor:check
```

### Get dependencies licenses list

Gets licenses list from backend and frontend dependencies (using NPM).

```sh
php artisan vendor:licenses
```

You can get Markdown or JSON formatted list by using the option `--format`

```bash
php artisan vendor:licenses --format=markdown

php artisan vendor:licenses --format=json
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.opensoutheners.com/oss/extended-laravel/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
