PHPackages                             kilowhat/flarum-database-requirements - 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. [Database &amp; ORM](/categories/database)
4. /
5. kilowhat/flarum-database-requirements

ActiveLibrary[Database &amp; ORM](/categories/database)

kilowhat/flarum-database-requirements
=====================================

Reusable code to ensure the database requirements of a Flarum extension are met

1.0.0(3y ago)112.9k↓32.5%1mitPHP

Since Dec 15Pushed 3y agoCompare

[ Source](https://github.com/kilowhat/flarum-database-requirements)[ Packagist](https://packagist.org/packages/kilowhat/flarum-database-requirements)[ RSS](/packages/kilowhat-flarum-database-requirements/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Flarum Database Requirements
============================

[](#flarum-database-requirements)

This is a library re-used across multiple KILOWHAT extensions to ensure the database requirements are met before an extension can be enabled.

It will not appear in the Flarum admin panel.

There is currently a single feature: ensure the JSON column type is supported by the database.

To use in an extension, create a new migration that executes before all other migrations with the following code (where `vendor-name` is the internal Flarum extension ID for your extension):

```
