How can I install laravel on ubuntu 18.04 - laravel

I am trying to install laravel 5.6 via composer on ubuntu 18.04
but i have this error:
Any help ?

This is not an error, these are just some suggestions to install other packages, for example if you need console logger, you may have to install psr/log-implementation package. don't worry, your laravel installation is completed without any errors.

Related

Laravel Project downloading error Your requirements could not be resolved to an installable set of packages

How to solve this Error when downloading laravel project. I install Ubuntu 22.04 today
I tried but I am not ok
You need to install the xml extenstion of PHP.
apt-get install php8.1-xml

Laravel Horizon install fail in my local machine

I have install laravel Laravel Framework 6.7.0 in local machine. I have working redis queue and jobs. but i have install horizon using this link https://laravel.com/docs/6.x/horizon. but i have not install .
I have atteched sceenshort below Please check.
As the output Using version ^4.2 for laravel/horizon states composer tries to install version 4 of laravel/horizon - which is Laravel7 only. You need to install version 3, which is compatible with Laravel6:
composer require laravel/horizon ^3.0

PHP: dom is missing from your system

Can you please help me, I am facing a trouble installing Laravel on my Ubuntu 18.04. When I run the commend composer create-project --prefer-dist laravel/laravel my_app, I get this error:
You need to install php-xml extension for dom. If you are using a Debian based system, you can install via the command below.
apt install php-xml

Is this the right way to install Jasmine on CircleCi platform (Ubuntu 14.04) ?

I have already tried the code provided in here:
https://inviqa.com/blog/testing-javascript-get-started-jasmine-0
It just doesn't see that bower is installed.
I have tried this and it worked out:
npm install -g jasmine //global installation
jasmine init
It seems just about right.
I want to install it via composer because that's how we install the PhpUnit. I am not sure where to look at.
How to install correctly jasmine on ubuntu trusty 14.04 (circleCi) ? Am I doing it correctly ?
There doesn't seem to be official Composer instructions. NPM and Gem installs are available via the official website: https://jasmine.github.io/pages/getting_started.html
A GitHub Gist shows an example of creating a composer install: https://gist.github.com/sampart/6294354 . That uses the standalone build.

Linode Ubuntu 16 for PHP 5?

I was trying to install PHP 5.x on Linode, but I got error:
E: Package 'php5-fpm' has no installation candidate
The command line is
sudo apt-get install php5-fpm
This issue has nothing to do with Linode. If you're running Ubuntu 16.04 (not 16) on Linode or anywhere else, PHP 5 no longer is available as they have moved on to PHP 7. If you can, I'd suggest using PHP 7. If not, this answer as details on how you can install PHP 5 from a PPA for use on Ubuntu 16.04: https://askubuntu.com/a/756901/51244
Ubuntu 16.04 has php 7 installed as default.
Change php version in your command. Here is updated command
sudo apt-get install php7.0-fpm
Note php7.0 in command.

Resources