Can I Install Laravel without using Composer?

后端 未结 7 2481
渐次进展
渐次进展 2020-12-04 10:12

I\'d like to know if I can install or use the Laravel PHP framework on any web server without using Composer (PHP package/dependency manager) every time?

I would lik

7条回答
  •  北海茫月
    2020-12-04 10:40

    If you have shared server and you are not able to install composer and run cmd to install a new package or update an existing package.

    You can one thing by installing composer on your local machine and install(ex composer require package/name) or update(ex composer update package/name) all the packages, then upload your vendor directory on the server with your code. it will work for you same as in your local environment.

    NOTE: I strongly recommend that you should use the Laravel with the composer, it is an important part of laravel and you can try to convince your client to provide a server that supports laravel. Please check the link below and you can find the server requirements. https://laravel.com/docs/5.5#installation

提交回复
热议问题