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

# PHP Artisan

Apysey integrates some commands to help you.\
You can get the list by typing in the terminal :

```
php artisan apysey:
```

`{name:string}` is an example. You need to replace it with your setting. For example, `php artisan apysey:permissions categories`.

### apysey:addDefaultPermissions

Saves Apysey's default permissions in the database (useful after re-grating a database).

### apysey:controller

Empty

### apysey:generate

Generates private key for Imagysey.

### apysey:install

Install Apysey in your project.

### apysey:permissions {name:string}

Allows you to create a new custom permission.

### apysey:publish

Updates Apysey files in your project.

### apysey:refreshPermissions {username:string}

Refreshes a user's permissions. Gives him all the permissions (super admin).

### apysey:resources

Empty

### apysey:user

Allows you to create a user.
