Run laravel application without php artisan serve command

PHOTO EMBED

Sun Dec 11 2022 15:59:59 GMT+0000 (Coordinated Universal Time)

Saved by @ahmad007 #laravel #ajax

1. Make a file named index.php in the parent application folder
2. Point this file to the index.php file exits in the public folder by writing this code in that file 
  <?php
 	require_once __DIR__.'/public/index.php';
3. copy .htaccess file from public folder to parent application folder
4. Now change all links and script libraries in layoutfiles with public at start of the href link and also with script src.
5. Now enjoy you have no need to use php artisan serve
content_copyCOPY