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

Use Cortex in another framework / standalone ? #55

Open
wargx opened this issue Sep 17, 2017 · 1 comment
Open

Use Cortex in another framework / standalone ? #55

wargx opened this issue Sep 17, 2017 · 1 comment

Comments

@wargx
Copy link

wargx commented Sep 17, 2017

Hi Christian,

Is there a possibility to use cortex in other frameworks like zend ?

It is really awesome module! thanks for your work.

@ikkez
Copy link
Owner

ikkez commented Sep 20, 2017

thanks for asking,
well Cortex was build on top of the standard mappers provided by F3 itself.. so it cannot run on its own at the moment. However, you could include all the required F3 modules along with Cortex to another framework and use it as a standalone mapper. You need the base.php, and those plugins: UTF, Magic, DB\Cursor, DB\SQL, DB\SQL\Mapper, and you probably need to manually adjust the Base->contruct method, because it does some global changes to the PHP globals and settings and could potentially interfere with another framework. But I guess it would work in the end ;)

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

2 participants