How to run Laravel without Artisan?

前端 未结 11 2168
不思量自难忘°
不思量自难忘° 2020-12-05 03:24

I have PHP with Apache2 and I want to run Laravel Framework without Artisan but I can\'t! Does anyone know how to run Laravel without Artisan?

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 04:22

    I am using xampp in mac

    1. inside htdocs / run following commadn $ laravel new myblog

    2. After successfully creation run following and do following

      • sudo chmod -R o+w storage/
    3. Change server.php to index.php (@ root directory)

    4. copy .htaccess from public to root directory

    5. (optional) in Resources / app.blade.php --> Change to

    6. run following http://localhost/myblog/

提交回复
热议问题