Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1 #34

Merged
merged 6 commits into from
Dec 14, 2019
Merged

2.1 #34

merged 6 commits into from
Dec 14, 2019

Conversation

abdumu
Copy link
Member

@abdumu abdumu commented Oct 25, 2019

2.1.0

  • Rewrites huge part of the package to support multiple data engines.
  • Adds database's data engine support (Eloquent).

@abdumu abdumu requested a review from BSN4 October 26, 2019 08:13
Copy link
Collaborator

@BSN4 BSN4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks abdul my comments not intended for this PR only I wanted to review all the library code so bare with me please

@@ -1,6 +1,5 @@
language: php
php:
- 7.1
- 7.2
- 7.3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add 7.4 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not ready on travis

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw it in laravel/framework

src/DataEngines/EloquentEngine.php Show resolved Hide resolved
src/DataEngines/RedisEngine.php Show resolved Hide resolved

namespace Awssat\Visits\Models;

use Illuminate\Database\Eloquent\Model;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this file publishable ?

Copy link
Member Author

@abdumu abdumu Oct 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, but we can make it easy to be extended and then configured from config/visits.php as 'visitsModel' => Model::class ..

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is improntant if someone wanted to change the model

src/Visits.php Show resolved Hide resolved
src/Visits.php Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants