title: Adding blade section programmatically
body: <p>For example, assume I am pushing script to <code>pageScripts</code> section like blow.</p>
  
  <pre><code>@section('pageScripts')
      &lt;script src="{{URL :: asset('assets/some-script-1.js')}}"&gt;&lt;/script&gt;
      &lt;script src="{{URL :: asset('assets/some-script-2.js')}}"&gt;&lt;/script&gt;
  @endsection
  </code></pre>
  
  <p>I can simply create this section in my blade template specific to the route. The problem is it would load only when the route is called. Or the solution is to add it in layout permanently.</p>
  
  <p>The problem I encounter is, when I am creating additional packages. I need to add some scripts that is always loaded with the application. I wonder if I can push some content into the blade section programmatically into any predefined section (pageScripts) in my application's core. Any feasible ideas are welcome. Thanks guys!</p>