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

JMSSerializerBundle without symfony ? #128

Closed
ghost opened this issue Jun 12, 2012 · 8 comments
Closed

JMSSerializerBundle without symfony ? #128

ghost opened this issue Jun 12, 2012 · 8 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2012

Hi there,
I'm using zf2 so can i use JMSSerializerBundle like a zf2 module ?

@schmittjoh
Copy link
Owner

This bundle has no required dependencies on Symfony2, so yes you can.

You just need to do the bootstrapping yourself.

@ghost
Copy link
Author

ghost commented Jun 12, 2012

However composer.json requires:

"require-dev": {
"symfony/framework-bundle": "2.",
"symfony/yaml": "2.
",
"symfony/form": "2.",
"symfony/validator": "2.
",
"twig/twig": "dev-master"
},

But it's not mandatory.

php composer.phar update
jms/serializer-bundle suggests installing symfony/framework-bundle (2.*)

Thank you @schmittjoh

@schmittjoh
Copy link
Owner

That's for development, and basically tests the integration features into
Symfony2 (which you don't need as you have to integrate the bundle yourself
into ZF2).

On Tue, Jun 12, 2012 at 12:45 PM, david quintard <
[email protected]

wrote:

However composer.json requires:

"require-dev": {
"symfony/framework-bundle": "2.",
"symfony/yaml": "2.
",
"symfony/form": "2.",
"symfony/validator": "2.
",
"twig/twig": "dev-master"
},


Reply to this email directly or view it on GitHub:

#128 (comment)

@Spea
Copy link
Contributor

Spea commented Jan 2, 2013

@schmittjoh
I'm planing to create a zf2 module of this bundle but I'm not sure whether to create a wrapper to this bundle or port the complete functionality, what do you think?

@lsmith77
Copy link
Contributor

lsmith77 commented Jan 2, 2013

actually the serialization part as been moved to a separate repo now.

@schmittjoh
Copy link
Owner

Yeah, I don't think that you need anything of this bundle for your zf2 module, just integrate the library directly.

@Spea
Copy link
Contributor

Spea commented Jan 2, 2013

Ok thanks, I hope it is ok if I call the module "JMSSerializerModule", if not, let me know ;)

@Spea
Copy link
Contributor

Spea commented Jan 9, 2013

If anybody is interested: https://github.com/Spea/JMSSerializerModule

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

3 participants