# Import & Export

<figure><img src="https://598543987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3nnlrjn6TtcCpL6SXFhI%2Fuploads%2FJtbJy1SfotwnnVRCfvly%2FScreenshot%202022-10-31%20at%2012.51.31%20PM.png?alt=media&#x26;token=ceb64b86-5411-4ac2-ba8c-06ba2d8e3dcc" alt=""><figcaption></figcaption></figure>

our resource class support import & export using `Laravel-Excel` package

### Using

first please install [laravel-excel](https://laravel-excel.com/)

```bash
composer require maatwebsite/excel -W
```

after that go to the `Modules\Base\Config` and do like this

```php
return [
    'excel_import' => true,
    'excel_export' => true
];
```

to disable import or export on any resource just use

```php
 public ?bool $import = false;
```

```php
 public ?bool $export = false;
```
