Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with orchestra/canvas #7

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

crynobone
Copy link
Contributor

@crynobone crynobone commented Mar 25, 2020

This would allow any developer to use Spatie stubs instead of the default bundled in orchestra/canvas for Package development.

Installation

On any package project.

composer require --dev "spatie/laravel-stubs" "orchestra/canvas:^5.2"

And then run

./vendor/bin/canvas preset package

And then modify the generated canvas.yaml file:

preset: Spatie\Stubs\Canvas\Package
namespace: YourPackageNamespace

https://github.com/orchestral/canvas

This would allow any developer to use Spatie stubs instead of the default bundled in `orchestra/canvas` for Package development.

### Installation

On any package project.

```
composer require --dev "spatie/laravel-stubs" "orchestra/canvas:^5.2"
```

And then run

```
./vendor/bin/canvas preset package
```

And then modify the generated `canvas.yaml` file:

```
preset: Spatie\Stubs\Canvas\Package
namespace: YourPackageNamespace
```
@freekmurze freekmurze merged commit f5b6fbb into spatie:master Mar 25, 2020
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants