F
F
flance2016-08-21 12:43:18
Composer
flance, 2016-08-21 12:43:18

Is it easy to migrate a Laravel based site?

Good afternoon.

In recent years, I have worked with cms sites and projects that are not directly related to the web.
When I was working with frameworks, Kohana was still alive (how I loved it!) And Composer was not widespread.

But we must move forward. My question is:
Everyone knows that Laravel needs Composer to install.
Does a site created on the basis of Laravel, if distributed, need Composer on hostings?
Or such a site can still be distributed in the classical way - unpack the archive with files in the hosting folder.

In general, what are the requirements for such a site for hosting.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
D', 2016-08-21
@Denormalization

You can either use composer or pack everything into an archive. Basically there is no difference.
Laravel is very easy to migrate:
- composer install
- php artisan migrate
- php artisan db:seed
And we have a website ready to go...

P
Puma Thailand, 2016-08-21
@opium

you just pack it into an archive and transfer it to the hosting, it does not need a composer.

V
Vladislav Soprun, 2016-08-22
@soprun

Какой архив, Вы о чем?!
"Классическим способом" - был хреналион лет назад, когда не было git, svn и других систем контроля версии?
Зачем изобретать велосипеды?
Все что нужно:
1. git clone ...
2. composer install
3. настроить среду .env
4. php artisan migrate --seed
Все остальные уже есть в php
Это все* что нужно!
Требования к серверу https://laravel.com/docs/5.2/installation
И люди которые советуют, посмотри те на год в Вашем календаре!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question