> For the complete documentation index, see [llms.txt](https://cross-packages.gitbook.io/cross-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cross-packages.gitbook.io/cross-api/usage/structure/make-provider.md).

# MakeProvider

It is used to generate a provider.

```bash
cross make:provider [name]
```

By default, they are created within the `src/shared/containers/providers` directory, where they act as public and independent services, You can also pass a second argument to create a provider that is dependent on a module. It will be generated within the modules in `src/modules/[name]/providers`.

```bash
cross make:provider [name] [father]
```

***
