Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel base url

// Get the base URL.
echo url('');

// Get the app URL from configuration which we set in .env file.
echo config('app.url'); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #base #url
ADD COMMENT
Topic
Name
4+4 =