Skip to content

Commit

Permalink
Add scripts in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Oct 6, 2024
1 parent 8e29770 commit 695b534
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
}
},
"scripts": {
"post-install-cmd": [
"@php -r \"echo PHP_EOL . 'Thank you for using Larasort! Please star it on GitHub: https://github.com/s-damian/larasort' . PHP_EOL;\""
],
"post-update-cmd": [
"@php -r \"echo PHP_EOL . 'Thank you for using Larasort! Please star it on GitHub: https://github.com/s-damian/larasort' . PHP_EOL;\""
],
"test": "php8.3 ./vendor/phpunit/phpunit/phpunit",
"test-f": "php8.3 ./vendor/phpunit/phpunit/phpunit --filter",
"phpstan": "php8.3 ./vendor/bin/phpstan analyse -c phpstan.neon",
Expand Down

0 comments on commit 695b534

Please sign in to comment.