Ooh you want to install laravel on a remote server?

|
DivByZero 2019-02-03 13:30:27
Eng_sa73 2019-02-03 13:28:19
ext-json is missing in composer.json less… (Ctrl+F1)
Inspection info:
Reports usages of classes/functions/constants from php extensions which are not specified in composer.json

ignore it

Eng_sa73 2019-02-03 13:46:44
DivByZero 2019-02-03 13:30:27
ignore it

I don’t know how to deal with this

StanleyMasinde 2019-02-04 05:34:59
Eng_sa73 2019-02-03 13:28:35

Why use json_encode while you can use the laravel helper

return response()->json($data);

I know they do the same but this one looks cleaner

StanleyMasinde 2019-02-04 05:37:13
In such scenarios laravel returns a JSON representation of the data unless you override it with
$get->toArray()
Maks_Ramazan 2019-02-04 11:16:23
Has anyone worked with soap client in a laravel??
Maks_Ramazan 2019-02-04 11:19:52
Help me please
Nikunj Sathawara 2019-02-04 19:27:07
Which kind of help you need
Nikunj Sathawara 2019-02-04 19:27:18
Can you please explain in brief
c0urage 2019-02-05 00:15:24
I need help installing laravel on my ubuntu server
c0urage 2019-02-05 00:15:41
Can anyone help me?
StanleyMasinde 2019-02-05 00:27:22
c0urage 2019-02-05 00:15:24
I need help installing laravel on my ubuntu server

About this have you read the docs and failed?

c0urage 2019-02-05 00:27:51
StanleyMasinde 2019-02-05 00:27:22
About this have you read the docs and failed?

yes, even after installing lemp

c0urage 2019-02-05 00:28:01
I need this for my backend server, I wanted to upload my api onto laravel.
c0urage 2019-02-05 00:28:06
I can pay if needed, I just need help.
AMIN01KZ 2019-02-05 00:28:11
c0urage 2019-02-05 00:15:24
I need help installing laravel on my ubuntu server

What’s the problem ?

StanleyMasinde 2019-02-05 00:28:33
You have not yet shared your problem
c0urage 2019-02-05 00:28:50
The problem is, even after following all the steps and getting composer etc.
c0urage 2019-02-05 00:28:57
I still cannot run “laravel new deploy” or anythinig
c0urage 2019-02-05 00:29:01
laravel isn’t on my system
c0urage 2019-02-05 00:29:04
even after installing laravel.
c0urage 2019-02-05 00:29:07
or composer
AMIN01KZ 2019-02-05 00:29:23
Did you install composer by terminal ?
StanleyMasinde 2019-02-05 00:29:42
c0urage 2019-02-05 00:29:01
laravel isn’t on my system

Laravel is just a folder with a framework for a web app

c0urage 2019-02-05 00:30:02
AMIN01KZ 2019-02-05 00:29:23
Did you install composer by terminal ?

yes I am using PuTTy for my ubuntu server

StanleyMasinde 2019-02-05 00:30:37
c0urage 2019-02-05 00:30:02
yes I am using PuTTy for my ubuntu server

Ooh you want to install laravel on a remote server?

c0urage 2019-02-05 00:30:44
Correct
StanleyMasinde 2019-02-05 00:31:20
c0urage 2019-02-05 00:30:44
Correct

Then how are you going to develop it from there?

StanleyMasinde 2019-02-05 00:31:34
Deploy with github
c0urage 2019-02-05 00:31:40
Yes github.
StanleyMasinde 2019-02-05 00:31:45
I mean git
c0urage 2019-02-05 00:31:49
I will need to deploy my api
AMIN01KZ 2019-02-05 00:32:14
c0urage 2019-02-05 00:30:02
yes I am using PuTTy for my ubuntu server

So you mean when you type composer it says “command not found” ?

c0urage 2019-02-05 00:32:14
onto my server
c0urage 2019-02-05 00:32:25
Composer works but laravel doesnt
AMIN01KZ 2019-02-05 00:32:40
c0urage 2019-02-05 00:32:25
Composer works but laravel doesnt

Have you installed laravel by composer?

StanleyMasinde 2019-02-05 00:32:45
c0urage 2019-02-05 00:32:25
Composer works but laravel doesnt

You mean laravel command?

c0urage 2019-02-05 00:32:50
StanleyMasinde 2019-02-05 00:32:45
You mean laravel command?

yes

c0urage 2019-02-05 00:32:56
AMIN01KZ 2019-02-05 00:32:40
Have you installed laravel by composer?

I try, and it is successfull

c0urage 2019-02-05 00:33:00
but whenever I try and use laravel
c0urage 2019-02-05 00:33:03
the command
c0urage 2019-02-05 00:33:05
it wont work
c0urage 2019-02-05 00:33:12
laravel: command not found
StanleyMasinde 2019-02-05 00:34:31
c0urage 2019-02-05 00:33:12
laravel: command not found

Stop typing many texts please.

And all you need to do is to export .config/composer/vendor/bin to system path

c0urage 2019-02-05 00:35:12
How do i go about doing that?
AMIN01KZ 2019-02-05 00:35:25
What’s your ubuntu version?
c0urage 2019-02-05 00:35:57
AMIN01KZ 2019-02-05 00:35:25
What’s your ubuntu version?

Ubuntu 18.04.1 LTS

StanleyMasinde 2019-02-05 00:36:03
Laravel 5 Installation in Ubuntu: laravel command not found – Stack Overflow
https://stackoverflow.com/questions/28597648/laravel-5-installation-in-ubuntu-laravel-command-not-found/37483332

Laravel 5 Installation in Ubuntu: laravel command not foundStack Overflow
When I try to install laravel 5 in ubuntu, I am getting error like this,

laravel: command not found

I followed these steps,

composer global require “laravel/installer=~1.1”

laravel new blog

AMIN01KZ 2019-02-05 00:37:05
c0urage 2019-02-05 00:35:57
Ubuntu 18.04.1 LTS

There’s a file you need to edit
Use vi or nano to edit .bashrc

then add the following
export PATH=”$HOME/.composer/vendor/bin:$PATH”

StanleyMasinde 2019-02-05 00:37:40
laravel_discuss-1679.jpg
From export
c0urage 2019-02-05 00:37:49
AMIN01KZ 2019-02-05 00:37:05
There’s a file you need to edit
Use vi or nano to edit .bashrc

then add the following
export PATH=”$HOME/.composer/vendor/bin:$PATH”

Where would I locate that?

|