Skip to content

PHP macros for various SQL functions that SQLite doesn't natively support.

License

Notifications You must be signed in to change notification settings

avrahamappel/sqlite-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLite Functions

This is a little PHP package that adds common SQL functions to SQLite. Useful when you're using MySQL or Postgres as your main database connection, but you want to use SQLite for testing, and keep getting those annoying "No such function" errors for stuff like DATE_FORMAT.

It still needs a lot of work, so all PRs are welcome.

Installation

composer require --dev appel/sqlite-functions

If you're using Laravel, the service provider and function macros will be registered automatically for you.

About

PHP macros for various SQL functions that SQLite doesn't natively support.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages