title: How to resolve Laravel version conflicts between 4.1 installation and 4.0 dependant packages required in composer.json
body: <p>I'm trying to install the laravelodbc package to use with the laravel framework. I initially installed laravel using <code>composer create-project laravel/laravel --prefer-dist</code>. I then added <code>"jtgrimes/laravelodbc": "0.2.*"</code> to my composer.json file and added <code>'jtgrimes\Laravelodbc\ODBCServiceProvider'</code> to my list of providers in app.php.</p>
  
  <p>The <code>require</code> key in my <code>composer.json</code> file looks like: </p>
  
  <pre><code>"require": {
    "laravel/framework": "4.1.*",
    "yajra/laravel-oci8": "*",
    "jtgrimes/laravelodbc": "*"
  },
  </code></pre>
  
  <p>When I try to run <code>composer update</code> as is suggested in the <a href="https://github.com/jtgrimes/laravelodbc" rel="nofollow">laravelodbc readme</a>. </p>
  
  <pre><code>Your requirements could not be resolved to an installable set of packages, the following message is given:
  
    Problem 1
      - Conclusion: remove laravel/framework 4.1.x-dev
      - Conclusion: don't install laravel/framework 4.1.x-dev
      - Conclusion: don't install laravel/framework v4.1.13
      - Conclusion: don't install laravel/framework v4.1.12
      - Conclusion: don't install laravel/framework v4.1.11
      - Conclusion: don't install laravel/framework v4.1.10
      - Conclusion: don't install laravel/framework v4.1.9
      - Conclusion: don't install laravel/framework v4.1.8
      - Conclusion: don't install laravel/framework v4.1.7
      - Conclusion: don't install laravel/framework v4.1.6
      - Conclusion: don't install laravel/framework v4.1.5
      - Conclusion: don't install laravel/framework v4.1.4
      - Conclusion: don't install laravel/framework v4.1.3
      - Conclusion: don't install laravel/framework v4.1.2
      - Conclusion: don't install laravel/framework v4.1.1
      - jtgrimes/laravelodbc 0.1.1 requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - jtgrimes/laravelodbc 0.1.2 requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - jtgrimes/laravelodbc 0.1.3 requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - jtgrimes/laravelodbc 0.1.4 requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - jtgrimes/laravelodbc 0.2.0 requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - jtgrimes/laravelodbc dev-master requires illuminate/database 4.0.x -&gt; satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/database[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
      - Can only install one of: laravel/framework[v4.1.0, 4.0.x-dev].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.0].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA2].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA3].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA4].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.1].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.10].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.2].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.3].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.4].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.5].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.6].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.7].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.8].
      - Can only install one of: laravel/framework[v4.1.0, v4.0.9].
      - don't install illuminate/database 4.0.x-dev|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.0|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.0-BETA2|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.0-BETA3|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.0-BETA4|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.1|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.10|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.2|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.3|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.4|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.5|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.6|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.7|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.8|don't install laravel/framework v4.1.0
      - don't install illuminate/database v4.0.9|don't install laravel/framework v4.1.0
      - Installation request for laravel/framework 4.1.* -&gt; satisfiable by laravel/framework[4.1.x-dev, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
      - Installation request for jtgrimes/laravelodbc * -&gt; satisfiable by jtgrimes/laravelodbc[0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, dev-master].
  </code></pre>
  
  <p><strong>Edit</strong> 
  I was experimenting with different versions of laravel to see if that fixed my problem and forgot to change it back when I posted the question. The correct version of laravel is now displayed above, and with the same resulting message as shown above.</p>
  
  <p><strong>Edit 2</strong>
  I tried your suggestion, my fork is <a href="https://github.com/Purkinje/laravelodbc" rel="nofollow">here</a> (notice the change to the composer.json file there). I also changed the <code>composer.json</code> file in my laravel project:</p>
  
  <pre><code>"require": {
    "laravel/framework": "4.1.*",
    "yajra/laravel-oci8": "*",
    "Purkinje/laravelodbc": "*"
  },
  </code></pre>
  
  <p>...</p>
  
  <pre><code>"repositories": [
          {
                  "type": "vcs",
                  "url": "https://github.com/Purkinje/laravelodbc"
          }
  ],
  </code></pre>
  
  <p>When I run <code>composer update</code>, I get the error:</p>
  
  <pre><code>Problem 1
      - The requested package purkinje/laravelodbc could not be found in any version, there may be a typo in the package name.
  </code></pre>