title: Laravel return array value from app/config/package folder
body: <p>Hi I am using a laravel package <a href="https://github.com/greggilbert/recaptcha" rel="nofollow">https://github.com/greggilbert/recaptcha</a> and I have published the config files where I need to store my public and private keys for my recaptcha. I want to call this elsewhere in my app in an attempt to process this via AJAX . I've tried to call this as </p>
  
  <p><code>dd(Config::get('packages.greggilbert.recaptcha')['public_key']);</code></p>
  
  <p>however this returns as null. The array is kept in the following folder: </p>
  
  <p><code>app/config/packages/greggilbert/recaptcha/config.php</code></p>
  
  <p>the array is built as so:</p>
  
  <pre><code>&lt;?php
  
  return array(
  
  
      'public_key'    =&gt; 'publickey',
      'private_key'   =&gt; 'privatekey',
  
      'template'      =&gt; '',
  
      'driver'    =&gt; 'curl',
  
      'options'       =&gt; array(
  
          'curl_timeout' =&gt; 1,
  
      ),
  
      'version'       =&gt; 2,
  
  ); 
  </code></pre>
  
  <p>Any ideas how I can retrieve the <code>public_key</code> value??</p>