Category : configuration

Inside every module created with nWidart/laravel-modules there is a Config directory that ships with a config.php file: <?php return [ ‘name’ => ‘Contracts’ ]; Now, the documentation states that you should write your module’s configuration inside this directory, so I placed a database.php file inside with a custom connection for my module, called module1: <?php ..

Read more

I am working on my local server right now and trying to get rid of ‘/public/index.php’ from http://localhost/example/public/index.php/ in the url. I have followed content from the site: https://www.tutsmake.com/how-to-remove-public-from-url-in-laravel/ and added the config file laravelex.conf with the following content: <VirtualHost *:80> ServerName localhost ServerAdmin [email protected] DocumentRoot /var/www/example/public <Directory /var/www/example> Options Indexes FollowSymLinks MultiViews AllowOverride All ..

Read more