I have a shared hosting where I'd like to develop a couple of projects to learn better Laravel. I started few days ago to go deeper into the MVC pattern and I installed Laravel 5.4 on a domain of that shared hosting which provides an installer.
Since it's PHP, I guess the answer to my question should be: "Yes, you can do all the stuff manually instead of having it automatically done by artisans
commands"; what I'd like to know if it's really true or if I could get stuck at certain point of my project.
Today, for example, I wanted to learn about Laravel's authentication and I saw the Laravel's default user migration file. As said, I don't have SSH access on this hosting and I can't use artisans
commands so I wanted to create the table manually but my doubt was: what are the real parameters of each columns? My problem particularly regarded the rememberToken()
function. After a research I found the function in Blueprint $this->string('remember_token', 100)->nullable();
and I suppose it's a varchar(100)
.
To sum it up, can this approach work for a small project or is it like having a gun at the head ready to shot when you less expect it?
This question comes from a really newbie in Lavarel and in general in frameworks, so it can appear stupid to the more experts but since I didn't find any answer to a similar question I decided to ask it.
Thanks
P.S.: I tried to install Homestead to have a local environment and successively upload the files to the server, but on Windows the installation is quite a pain; I got stuck at the $ homestead up
call that returns me bash: homestead: command not found
. Since I'm not really familiar with CLI, I thought to learn Laravel first and then go deep into CLI also to use all its power, of course if the Laravel's usage without CLI is possible.
The question has been marked as possible duplicated of: Can I Install Laravel without using Composer? but I'm asking if I can use Laravel without CLI, not if I can install Laravel without Composer (since, as I mentioned, Laravel is perfectly installed and fully working on my shared hosting).