PHPackages                             ncaroyannis/laravel-sqlite-fluent-drop-foreign - 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. ncaroyannis/laravel-sqlite-fluent-drop-foreign

ActiveLibrary

ncaroyannis/laravel-sqlite-fluent-drop-foreign
==============================================

Add a fluent dropForeign when using sqlite database

0516PHP

Since Oct 20Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-sqlite-fluent-drop-foreign
==================================

[](#laravel-sqlite-fluent-drop-foreign)

[![Latest Stable Version](https://camo.githubusercontent.com/8aceb32bcdcbf6f2fb35b98f32f3d0a8e92df5c95ac98984d98d208623f5851b/68747470733a2f2f706f7365722e707567782e6f72672f65586f6c6e65742f6c61726176656c2d73716c6974652d666c75656e742d64726f702d666f726569676e2f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-sqlite-fluent-drop-foreign)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/372c7f7ad859072b196587493da5b96cc3a349e6d1f3f48f1e5e35c194870b98/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f65586f6c6e65742f6c61726176656c2d73716c6974652d666c75656e742d64726f702d666f726569676e2f74657374733f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/eXolnet/laravel-sqlite-fluent-drop-foreign/actions?query=workflow%3Atests)[![Total Downloads](https://camo.githubusercontent.com/28dbe62f33e6e274d12dd83c48cd80633c6653ed7d6d5924dcdc10bb87698fcc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65586f6c6e65742f6c61726176656c2d73716c6974652d666c75656e742d64726f702d666f726569676e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-sqlite-fluent-drop-foreign)

Make dropForeign fluent when using an SQLite database.

Installation
------------

[](#installation)

Require this package with composer:

```
composer require exolnet/laravel-sqlite-fluent-drop-foreign

```

If you don't use package auto-discovery, add the service provider to the `providers` array in `config/app.php`:

```
Exolnet\SQLiteFluentDropForeign\SQLiteFluentDropForeignServiceProvider::class

```

Usage
-----

[](#usage)

After the package is installed, all the call to `dropForeign` on a `sqlite` connection will return a `new Fluent()` in order to avoid getting the `SQLite doesn't support dropping foreign keys (you would need to re-create the table).`error.

Testing
-------

[](#testing)

To run the phpUnit tests, please use:

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE OF CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Simon Gaudreau](https://github.com/Gandhi11)
- [All Contributors](../../contributors)

License
-------

[](#license)

This code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). Please see the [license file](LICENSE) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 63.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8485d8a59aeabc9a260b25e3f9e48e023e2e8a74749fcd92a882a9f634b34ee4?d=identicon)[designfix](/maintainers/designfix)

---

Top Contributors

[![xel1045](https://avatars.githubusercontent.com/u/1497697?v=4)](https://github.com/xel1045 "xel1045 (30 commits)")[![Gandhi11](https://avatars.githubusercontent.com/u/4001049?v=4)](https://github.com/Gandhi11 "Gandhi11 (11 commits)")[![ChristopheTremblay](https://avatars.githubusercontent.com/u/61481239?v=4)](https://github.com/ChristopheTremblay "ChristopheTremblay (3 commits)")[![ncaroyannis](https://avatars.githubusercontent.com/u/5357396?v=4)](https://github.com/ncaroyannis "ncaroyannis (2 commits)")[![TheDoctor0](https://avatars.githubusercontent.com/u/16612504?v=4)](https://github.com/TheDoctor0 "TheDoctor0 (1 commits)")

### Embed Badge

![Health badge](/badges/ncaroyannis-laravel-sqlite-fluent-drop-foreign/health.svg)

```
[![Health](https://phpackages.com/badges/ncaroyannis-laravel-sqlite-fluent-drop-foreign/health.svg)](https://phpackages.com/packages/ncaroyannis-laravel-sqlite-fluent-drop-foreign)
```

PHPackages © 2026

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