PHPackages                             morrislaptop/laravel-boot-maker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. morrislaptop/laravel-boot-maker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

morrislaptop/laravel-boot-maker
===============================

Partially boot Laravel for your lightning fast tests

v0.5.0(1mo ago)3584.4k↓46.2%2MITPHPPHP ^8.3CI passing

Since Aug 5Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/morrislaptop/laravel-boot-maker)[ Packagist](https://packagist.org/packages/morrislaptop/laravel-boot-maker)[ Docs](https://github.com/morrislaptop/laravel-boot-maker)[ RSS](/packages/morrislaptop-laravel-boot-maker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (26)Versions (11)Used By (0)

Laravel Boot Maker
==================

[](#laravel-boot-maker)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6ae678937a90a86a288689feed09b5cb46299776e23173d1e774f8a24148570e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f727269736c6170746f702f6c61726176656c2d626f6f742d6d616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/morrislaptop/laravel-boot-maker)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b5cc4119099602d4b6c3c38d67ee847d1bc8e6b3d273ba451cf4e0c94645ec96/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d6f727269736c6170746f702f6c61726176656c2d626f6f742d6d616b65722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/morrislaptop/laravel-boot-maker/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/da84c22d644c4f385be83e012f9aa072e5cd0a8ef8b2da00ad00d018a9613c10/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d6f727269736c6170746f702f6c61726176656c2d626f6f742d6d616b65722f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/morrislaptop/laravel-boot-maker/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/29c6085105060480268dbee857d819fa2a0d6a79612b2ab2d40161726ca2b476/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f727269736c6170746f702f6c61726176656c2d626f6f742d6d616b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/morrislaptop/laravel-boot-maker)

[![Laravel Boot Maker](./laravel-boot-maker.png)](./laravel-boot-maker.png)

When you extend `TestCase`, you're booting the whole framework for each test in your suite. It's likely that you're not using all the features for each test, slowing down your test suite considerably.

This package allows you to "opt in" to boot just the Laravel features you need for your test to pass. Your test will run much quicker as a result.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require morrislaptop/laravel-boot-maker --dev
```

Create the following trait in `tests/CreatesPartialApplication.php`

```
