i3bepb / laravel-drop-foreign-if-exists
Method drop foreign if exist for psql
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/i3bepb/laravel-drop-foreign-if-exists
Requires
- php: ^7.4 || ^8.0
- illuminate/support: ^7.0 || ^8.0 || ^9.0
Requires (Dev)
- nunomaduro/collision: ^6.2 || ^5.0
- orchestra/testbench: ^v6.0 || ^v7.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-10-29 02:57:43 UTC
README
Add method dropForeignIfExists in Blueprint for Postgresql.
Support Policy
| Package Version | Laravel Version |
|---|---|
| 1 | 9 |
| 1 | 8 |
| not support | <=7 |
Testing
See workflow testing.yml. For example Laravel 9.
docker pull i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17
Run container with volume
docker run --rm -it -v $(pwd):/home/www-data/application i3bepb/php-for-test:1.0.0-php-8.1.16-cli-alpine3.17 sh
In container
composer install && php vendor/bin/testbench package:test --do-not-cache-result
Support orchestra/testbench
| laravel | testbench |
|---|---|
| 9.x | 7.x |
| 8.x | 6.x |
| 7.x | 5.x |
| 6.x | 4.x |
Support nunomaduro/collision
| testbench | nunomaduro/collision |
|---|---|
| 7.x | 6.x |
| 6.x | 5.x |
| 5.x | 4.x |