Installing Blueprint

You can install Blueprint via Composer with the following command:

composer require --dev laravel-shift/blueprint

Additional Packages

Blueprint also suggests installing the Laravel Test Assertions package, as the generated tests may use some of the additional, helpful assertions provided by this package.

You may do so with the following command:

composer require --dev jasonmccreary/laravel-test-assertions

Ignoring Blueprint files

You may also consider ignoring files Blueprint uses from version control. We'll talk about these files more in Generating Components. But for now, these files are mainly used as a "scratch pad" or "local cache" and as such it's unlikely you'd want to track their changes.

You may quickly add these files to your .gitignore with the following command:

echo '/draft.yaml' >> .gitignore
echo '/.blueprint' >> .gitignore