File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 88
99Here we will over time share some useful Laravel traits we need in our daily work.
1010
11+ ### Traits
12+
13+ - [ ` UsefulEnums ` ] ( #usefulenums )
14+ - [ ` UsefulScopes ` ] ( #usefulscopes )
15+ - [ ` selectAllBut ` ] ( #selectallbut )
16+ - [ ` fromToday ` ] ( #fromtoday-fromyesterday )
17+ - [ ` fromYesterday ` ] ( #fromtoday-fromyesterday )
18+ - [ ` RefreshDatabaseFast ` ] ( #refreshdatabasefast )
19+
1120## Installation
1221
1322You can install the package via composer:
@@ -121,6 +130,8 @@ So the first `migrate:fresh` takes awhile (depending on how many migrations you
121130
122131Optionally you can set ` USEFUL_TRAITS_SEED_AFTER_FAST_DB_REFRESH ` to ` true ` if you like to seed your database after the migration.
123132
133+ Also make sure to add the ` .phpunit.database.checksum ` to your ` .gitignore ` file!
134+
124135*** Pest:***
125136``` php
126137// Pest.php
You can’t perform that action at this time.
0 commit comments