From d998bcb32e0867ebe5bcd29f0f9d74b7f0553968 Mon Sep 17 00:00:00 2001 From: medilies Date: Fri, 2 Sep 2022 10:20:24 +0100 Subject: [PATCH] SQLite dependancy --- README.md | 10 +++++++++- composer.json | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66e7eaf..b95086e 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ Install the package via composer: composer require medilies/laravel-algerian-provinces ``` +Requirements: + +1. SQLite. + ### Publishing config file [Optional] You can publish the config file with: @@ -73,7 +77,11 @@ class Student extends Model ## Sushi -This package requires 0 config, and comes with no migrations or seeders thanks to the wonderful package [calebporzio/sushi](https://github.com/calebporzio/sushi). That allows us to offer a ready to use model without going the extra steps of affecting your database. If you prefer having a table in you database checkout [v1](https://github.com/elaborate-code/laravel-algerian-provinces/tree/v1-migration) +This package requires 0 config, and comes with no migrations or seeders thanks to the wonderful package [calebporzio/sushi](https://github.com/calebporzio/sushi). That allows us to offer a ready to use model without going the extra steps of affecting your database. + +> However this dependency requires SQLite to be setup on your system! + +If you prefer having a table in your database checkout [v1](https://github.com/elaborate-code/laravel-algerian-provinces/tree/v1-migration) which doesn't depand on calebporzio/sushi. ## Testing diff --git a/composer.json b/composer.json index e101d2b..77fa44a 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "require": { "php": "^8.1", "calebporzio/sushi": "^2.4", + "ext-pdo_sqlite": "*", "illuminate/contracts": "^9.0", "spatie/laravel-package-tools": "^1.9.2" },