PHPackages                             i3bepb/laravel-drop-foreign-if-exists - 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. i3bepb/laravel-drop-foreign-if-exists

ActiveLibrary

i3bepb/laravel-drop-foreign-if-exists
=====================================

Method drop foreign if exist for psql

1.0.1(3y ago)010MITPHPPHP ^7.4 || ^8.0

Since Feb 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/i3bepb/laravel-drop-foreign-if-exists)[ Packagist](https://packagist.org/packages/i3bepb/laravel-drop-foreign-if-exists)[ RSS](/packages/i3bepb-laravel-drop-foreign-if-exists/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Drop foreign if exist
=====================

[](#drop-foreign-if-exist)

Add method dropForeignIfExists in Blueprint for Postgresql.

Support Policy
==============

[](#support-policy)

Package VersionLaravel Version1918not support&lt;=7Testing
=======

[](#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
---------------------------

[](#support-orchestratestbench)

laraveltestbench9.x7.x8.x6.x7.x5.x6.x4.xSupport nunomaduro/collision
----------------------------

[](#support-nunomadurocollision)

testbenchnunomaduro/collision7.x6.x6.x5.x5.x4.x

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

1168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57417a68f3fb9636dcb2e98d271ee278b29ca8f329c9e4070193602d2f4df7c0?d=identicon)[i3bepb](/maintainers/i3bepb)

---

Top Contributors

[![i3bepb](https://avatars.githubusercontent.com/u/1553797?v=4)](https://github.com/i3bepb "i3bepb (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/i3bepb-laravel-drop-foreign-if-exists/health.svg)

```
[![Health](https://phpackages.com/badges/i3bepb-laravel-drop-foreign-if-exists/health.svg)](https://phpackages.com/packages/i3bepb-laravel-drop-foreign-if-exists)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
