Comments (6)
are you using php 5.3
? and what is require_once('Constraint.php');
? you should use the autoloader...
from json-schema.
ok thanks!
Is it better to read the Schema from an .json file or an internal variable ?
from json-schema.
Either way is fine. Just depends on how you want to organize your code.
from json-schema.
Hi,
I 've just installed this package
I'm having the same error in the test example given :
PHP Fatal error: Class 'JsonSchema\Validator' not found in
I'm using PHP 5.4.9
Thanks
from json-schema.
Did you use Composer for the installation? All of the JsonSchema classes are meant to be loaded via an autoloader, not directly with a require
or include
statement.
from json-schema.
Hi, thanks for the quick response,
I didnt use composer, i did just git
What should i do then ?
Sent from my iPad
On 28 Nov 2012, at 16:44, Justin Rainbow [email protected] wrote:
Did you use Composer for the installation? All of the JsonSchema classes are meant to be loaded via an autoloader, not directly with a require or include statement.
—
Reply to this email directly or view it on GitHub.
from json-schema.
Related Issues (20)
- started getting error "nothing provides" HOT 5
- JsonSchema\Exception\ResourceNotFoundException
- Question about Dependency (json-schema/json-schema-test-suite) HOT 2
- Custom error messages HOT 6
- There is no ConstConstraint in released version. HOT 3
- Exception Error: "Maximum function nesting level of '256' reached, aborting!" HOT 1
- Show line numbers HOT 4
- Schema validation always returns true HOT 2
- Validation always returning true HOT 4
- oneOf, and anyOf annotation example HOT 4
- URI schemas incorrectly validated with FILTER_VALIDATE_URL HOT 7
- JsonSchema\Exception\InvalidArgumentException HOT 2
- JsonSchema\Exception\InvalidArgumentException | is an invalid type for string|null HOT 5
- HTTP to HTTPS redirection breaks remote reference resolution HOT 3
- not validating nested array with Symfony phpunit, or prop names HOT 3
- Possibly enum check is O(n) maybe can be O(1) for more performance HOT 4
- Why do we support higher version json-schema? HOT 3
- Inconsistent behavior with allOf/oneOf between master branch and latest release (v5.2.13) HOT 6
- Version number format changed in 5.2.13 HOT 2
- Mixing properties and patternProperties fails for properties not matching the patternProperties definition HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-schema.