exolnet/laravel-sqlite-fluent-drop-foreign

Add a fluent dropForeign when using sqlite database
133,927 12
Install
composer require exolnet/laravel-sqlite-fluent-drop-foreign
Latest Version:v1.12.0
PHP:^8.3
License:MIT
Last Updated:Sep 21, 2026
Links: GitHub  ·  Packagist
Maintainer: exolnet

laravel-sqlite-fluent-drop-foreign

Latest Stable Version Software License Build Status Total Downloads

Make dropForeign fluent when using an SQLite database.

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

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

To run the phpUnit tests, please use:

composer test

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

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

Credits

License

Copyright © eXolnet. All rights reserved.

This code is licensed under the MIT license. Please see the license file for more information.

Related Packages

exolnet/laravel-status

The eXolnet Laravel Status package.

56,412 0
exolnet/laravel-translation

The eXolnet Laravel Translation package.

32,669 3
exolnet/laravel-backup-database

Expend laravel-backup by adding a simple command to backup a database.

49,274 0
exolnet/laravel-translation-editor

Allow translation edition through the browser

41,857 6
exolnet/laravel-envoy

Automated deployment template for Laravel Envoy based on Capistrano.

18,122 23