Libraries tagged by foreign-keys
tommyknocker/pdo-database-class
6678 Downloads
Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. No framework dependency.
ghanuz/relations
6783 Downloads
To create a Eloquent relationships with comma separated foreign key or using a FIND_IN_SET mysql function.
bokshorn-it/filament-activity-timeline
9566 Downloads
A Filament plugin that turns spatie/laravel-activitylog into a readable audit trail: a record timeline, a filterable activity resource, and diffs that resolve enums, dates and foreign keys to human labels.
bertugfahriozer/sql2migration
6524 Downloads
A Spark command for CodeIgniter 4 that generates migration files from an SQL file, with support for foreign keys, triggers, and DB prefix.
axn/laravel-pk-int-to-bigint
7929 Downloads
Convert DB primary keys and related foreign keys type from INT to BIGINT in a Laravel project
lav45/yii2-db-migrate
21227 Downloads
This extension allows you to easily create large migrations associated with many foreign keys.
erikgall/eloquent-phpunit
17036 Downloads
Test Eloquent models, database schemas & tables, relationships/foreign keys using PHPUnit.
craftcms/fix-fks
17785 Downloads
Restore missing foreign key constraints in the database.
bullhorn/fast-rest
8100 Downloads
FastREST generates REST-ready models and controllers dynamically from a MySQL database schema, including foreign keys, table and column comments, and indexes.
stidges/laravel-fk-migration
4229 Downloads
Helpful base migration for creating all your foreign key without worrying about the order of your migrations.
sachoo/phalcon-model-annotations
136638 Downloads
Annotations handler for phalcon models. Allow to add foreign keys with annotation in models and manage many models with different databases (mysql, postgresql, cassandra, sqlite)
maxwellmc/doctrine-fixtures-autonumber-reset-bundle
22373 Downloads
Symfony2 Bundle to automatically reset the AUTO_INCREMENT value to 1 when using MySQL and foreign key constraints and Doctrine Data Fixtures
coyote6/laravel-settings
41 Downloads
Site-wide and per-model settings for Laravel, stored in their own tables with real foreign keys and named by enums.
camelot/doctrine-sqlite-foreign-keys
2695 Downloads
Doctrine DBAL SQLite foreign key support
thipages/quickdb
56 Downloads
Quick SQLite/MySql database sql creation builder