medilies's avatar

Does calebporzio/sushi require Sqlite?

I'm using suchi as a dependency for my package Laravel Algerian provinces

class Wilaya extends Model
{
    use Sushi;

    protected $fillable = [];

    public function getRows(): array
    {
        $rows = require __DIR__ . './../../arrays/wilayas.php';

        return $rows;
    }
}

And I hope that it doesn't force users to have SQLite set up.

Also, does not having SQLite for caching have a drawback on performance?

0 likes
4 replies
Sinnbeck's avatar

It does use sqlite yes

Not sure what you mean by sqlite caching?

medilies's avatar

@Sinnbeck I did read the trait code and the word cache dominates most methods names, but that fact doesn't matter a lot I guess.

I'm more interested in knowing if having SQLite is a must.

Snapey's avatar
Snapey
Best Answer
Level 122

i like this package and use it in multiple projects, however it does feel like abandonware at the moment with old pending pull requests and no issues or discussions tab

One of the outstanding pull requests is to add ext-sqlite to the composer dependencies to make it clear that its required, but it's been sat there since sept '21

2 likes

Please or to participate in this conversation.