Open PeterSchumacher opened 10 years ago
Are you using 2.3.1? That might be something new from Laravel 4.1. I'll take a look when I get back to my computer. On Dec 22, 2013 11:45 PM, "Peter Schumacher" notifications@github.com wrote:
When using standalone, 'symfony/config' must be added manually to composer.json
At the moment it's,
"symfony/config": "v2.4.0"
If not added, an error about missing Symfony classes shows up when trying to get validation errors.
I actually think it's a missing dependency in the composer file for Symfony translation.
— Reply to this email directly or view it on GitHubhttps://github.com/laravelbook/ardent/issues/139 .
Here's my require lines from composer and the actually installed packages.
"require": {
"luracast/restler": "v3.0.0",
"laravelbook/ardent": "dev-master",
"symfony/config": "v2.4.0"
},
composer show -i illuminate/container v4.1.9 illuminate/database v4.1.9 illuminate/events v4.1.9 illuminate/support v4.1.9 illuminate/validation v4.1.9 laravelbook/ardent dev-master b2bf337 Self-validating smart models for Laravel 4's Eloquent O/RM luracast/restler v3.0.0 Restler is a simple and effective multi-format Web API Server. nesbot/carbon 1.7.0 A simple API extension for DateTime. symfony/config v2.4.0 Symfony Config Component symfony/filesystem v2.4.0 Symfony Filesystem Component symfony/http-foundation v2.4.0 Symfony HttpFoundation Component symfony/translation v2.4.0 Symfony Translation Component
Thank you!
Nice to see you're going with the same duo I was using when I started working in Ardent: Ardent+Restler. Those are great projects and I'm sure you'll like it ;) Furthermore, I would recommend you to take a look at Codeception for API testing (:
Anyway, I'll take a look at the issue now. Thx!
Looks like validation depends on translation that depends-dev + suggests config. Theoretically it should require it instead. Could you confirm this wrong behaviour and maybe fill a bug with them?
When using standalone, 'symfony/config' must be added manually to composer.json
At the moment it's,
"symfony/config": "v2.4.0"
If not added, an error about missing Symfony classes shows up when trying to get validation errors.
I actually think it's a missing dependency in the composer file for Symfony translation.