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

Integrate PLETFIX and Moldable #17

Open
francescobianco opened this issue Oct 14, 2017 · 0 comments
Open

Integrate PLETFIX and Moldable #17

francescobianco opened this issue Oct 14, 2017 · 0 comments

Comments

@francescobianco
Copy link
Member

First, you must wrap your database abstraction layer through this interface:
https://github.com/pletfix/core/blob/master/src/Services/Contracts/Database.php

Second, add a new database factory, that returns your database layer. You can find the interface here:
https://github.com/pletfix/core/blob/master/src/Services/Contracts/DatabaseFactory.php

Finally, you may inject the database factory here:
https://github.com/pletfix/core/blob/master/boot/services.php
(Of course, you do not have to modify the core, but the service.php in the application's boot folder.)

Write me if you have any questions.
Frank

@frohlfing

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

No branches or pull requests

1 participant