https://github.com/defstudio/laravel-tools
https://github.com/defstudio/laravel-tools
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/defstudio/laravel-tools
- Owner: defstudio
- Created: 2021-09-13T15:08:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T10:27:38.000Z (about 2 years ago)
- Last Synced: 2025-01-28T05:20:23.100Z (over 1 year ago)
- Language: Blade
- Size: 255 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-tools
## Installation
You can install this package via Composer:
`composer require defstudio/laravel-tools`
## Setup
### Publishing Assets
[TODO]
### Dev dependencies installation
additionally, you can install our opinionated dev dependencies for laravel projects
`composer require --dev defstudio/laravel-dev-dependencies -W`
and add the following scripts to composer.json
```
"php-cs-fixer": "php-cs-fixer fix -v --config=./.php-cs-fixer.php",
"lint": "@php-cs-fixer",
"test:lint": "@php-cs-fixer --dry-run",
"test:types": "php ./vendor/bin/phpstan analyse --ansi --memory-limit=-1",
"test:mutation": "./vendor/bin/infection --test-framework=pest --show-mutations",
"test": "php ./vendor/bin/pest --colors=always --parallel",
"update:snapshots": "php ./vendor/bin/pest --colors=always -d --update-snapshots",
"coverage": "php ./vendor/bin/pest --coverage",
"test:all": [
"@test:lint",
"@test:types",
"@test"
]
```