cubettech / lacassa

Lacassa - The complete Eloquent wrapper and query builder for Cassandra and laravel.
http://cubettech.com/laravel-cassandra/
MIT License
34 stars 20 forks source link

Problem of connecting database with cassandra #9

Open jedsadakorn19 opened 3 years ago

jedsadakorn19 commented 3 years ago

ERROR : Declaration of Cubettech\Lacassa\Connection::table($table) must be compatible with Illuminate\Database\Connection::table($table, $as = NULL) at vendor/cubettech/lacassa/src/Connection.php:7

Connection.php :

`<?php namespace Cubettech\Lacassa;

use Illuminate\Database\Connection as BaseConnection; use Cassandra;

class Connection extends BaseConnection { /**

jedsadakorn19 commented 3 years ago

I'm new with cassandra. please give me some advice. thanks you.

mrl22 commented 1 year ago

The project has not been updated for a long time, and I have created a commit to fix this issue (https://github.com/cubettech/lacassa/pull/11) I assume it has not been updated because DataStax (who created the php-cassandra extension) is not supporting the Cassandra driver on PHP8; this has been taken over by Nano Interactive, as seen here: https://datastax-oss.atlassian.net/browse/PHP-239