<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jsfreu</title>
    <description>The latest articles on DEV Community by jsfreu (@jsfreu).</description>
    <link>https://dev.to/jsfreu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1650323%2F250a054b-acf7-420d-a956-b1b5b6051fd4.png</url>
      <title>DEV Community: jsfreu</title>
      <link>https://dev.to/jsfreu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jsfreu"/>
    <language>en</language>
    <item>
      <title>DEV's Wanted!</title>
      <dc:creator>jsfreu</dc:creator>
      <pubDate>Fri, 21 Jun 2024 18:38:28 +0000</pubDate>
      <link>https://dev.to/jsfreu/devs-wanted-138k</link>
      <guid>https://dev.to/jsfreu/devs-wanted-138k</guid>
      <description>&lt;p&gt;Hey everyone. It's since a long time that I have this idea of a MIT Licensed app dedicated to home based business owners. Yesterday I have been generating a overview of all different integrations my ideal platform must need. Having small to none experience on php development but rather more on html and css for now. I was wondering if any dev's here front &amp;amp; backend would be intrested to join in the development of a All In One Digital Marketing Suite SAAS App on a voluntary basis. The Software will be licensed under MIT. More info can be found on my selfhosted gitea server. I just installed the server and will upload the first Master Branch tomorow morning wich already has a working Laravel 11 Jetstream Livewire Filament Stack. Here's the repo adress let me know if you wish to join in such a project. &lt;a href="https://git.onlinemarketingsociety.eu/toms/TheOnlineMoneySystem/src/branch/main/README.md"&gt;https://git.onlinemarketingsociety.eu/toms/TheOnlineMoneySystem/src/branch/main/README.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Best John&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>mit</category>
      <category>development</category>
    </item>
    <item>
      <title>Middleware registration in bootstrap/app.php Laravel 11</title>
      <dc:creator>jsfreu</dc:creator>
      <pubDate>Wed, 19 Jun 2024 09:26:13 +0000</pubDate>
      <link>https://dev.to/jsfreu/middleware-registration-in-bootstrapappphp-laravel-11-4phb</link>
      <guid>https://dev.to/jsfreu/middleware-registration-in-bootstrapappphp-laravel-11-4phb</guid>
      <description>&lt;p&gt;I've recently encountered a significant challenge while working with Laravel 11. In this version, kernel.php has been moved away, and the process for middleware registration has shifted to app.php. This change has resulted in an error that I'm struggling to resolve. Here’s the error message I’m facing:&lt;br&gt;
`Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Configuration\Middleware::configure() in C:\laragon\www\project\bootstrap\app.php:15&lt;br&gt;
Stack trace:&lt;/p&gt;
&lt;h1&gt;
  
  
  0 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Foundation\Configuration\ApplicationBuilder.php(250): {closure}(Object(Illuminate\Foundation\Configuration\Middleware))
&lt;/h1&gt;
&lt;h1&gt;
  
  
  1 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Container\Container.php(1294): Illuminate\Foundation\Configuration\ApplicationBuilder-&amp;gt;Illuminate\Foundation\Configuration{closure}(Object(Illuminate\Foundation\Http\Kernel), Object(Illuminate\Foundation\Application))
&lt;/h1&gt;
&lt;h1&gt;
  
  
  2 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Container\Container.php(1258): Illuminate\Container\Container-&amp;gt;fireCallbackArray(Object(Illuminate\Foundation\Http\Kernel), Array)
&lt;/h1&gt;
&lt;h1&gt;
  
  
  3 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Container\Container.php(1244): Illuminate\Container\Container-&amp;gt;fireAfterResolvingCallbacks('Illuminate\Cont...', Object(Illuminate\Foundation\Http\Kernel))
&lt;/h1&gt;
&lt;h1&gt;
  
  
  4 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Container\Container.php(805): Illuminate\Container\Container-&amp;gt;fireResolvingCallbacks('Illuminate\Cont...', Object(Illuminate\Foundation\Http\Kernel))
&lt;/h1&gt;
&lt;h1&gt;
  
  
  5 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(1041): Illuminate\Container\Container-&amp;gt;resolve('Illuminate\Cont...', Array, true)
&lt;/h1&gt;
&lt;h1&gt;
  
  
  6 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Container\Container.php(723): Illuminate\Foundation\Application-&amp;gt;resolve('Illuminate\Cont...', Array)
&lt;/h1&gt;
&lt;h1&gt;
  
  
  7 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(1026): Illuminate\Container\Container-&amp;gt;make('Illuminate\Cont...', Array)
&lt;/h1&gt;
&lt;h1&gt;
  
  
  8 C:\laragon\www\project\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(1181): Illuminate\Foundation\Application-&amp;gt;make('Illuminate\Cont...')
&lt;/h1&gt;
&lt;h1&gt;
  
  
  9 C:\laragon\www\project\public\index.php(17): Illuminate\Foundation\Application-&amp;gt;handleRequest(Object(Illuminate\Http\Request))
&lt;/h1&gt;
&lt;h1&gt;
  
  
  10 {main} thrown in C:\laragon\www\project\bootstrap\app.php on line 15
&lt;/h1&gt;

&lt;p&gt;`&lt;/p&gt;

&lt;p&gt;My current app.php looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php

use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

return Application::configure(basePath: dirname(__DIR__))
    -&amp;gt;withRouting(
        web: __DIR__.'/../routes/web.php',
        commands: __DIR__.'/../routes/console.php',
        health: '/up',
    )
    -&amp;gt;withMiddleware(function (Middleware $middleware) {
        // Define middleware aliases directly as an array
        $middleware-&amp;gt;configure([
            'aliases' =&amp;gt; [
                'auth' =&amp;gt; \App\Http\Middleware\Authenticate::class,
                'adminAuth' =&amp;gt; \App\Http\Middleware\AdminAuth::class,
                'superAdminAuth' =&amp;gt; \App\Http\Middleware\SuperAdminAuth::class,
            ],
            // You can add more middleware configurations here if necessary
        ]);
    })
    -&amp;gt;withExceptions(function (Exceptions $exceptions) {
        // Exceptions configuration logic here
    })-&amp;gt;create();

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I’m encountering a Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Configuration\Middleware::configure(). This issue seems to be related to the way middleware is registered in Laravel 11, which is different from previous versions.&lt;/p&gt;

&lt;p&gt;If anyone has experience with this new setup in Laravel 11, I would greatly appreciate some guidance on how to properly configure middleware in app.php. Thank you in advance for your help!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
