Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

abduljakul-salsalani's avatar

How to properly set up cpriego/laravel-valet in linux

Laravel Valet in Solus Setup

Hey guys, please spare me some of your time, and let me put my issues, I've used xampp ever since, but I've decided not to use it since I"m LAMP trying to know how to set up without xampp

  1. I installed php then composer from their respective websites,
  2. But I remembered about Homebrew from Mac So I installed linuxbrew and then I installed nginx and mariadb thought I have to install it before using laravel-valet
  3. But How do I properly set up laravel-valet in linux using this package:

https://github.com/cpriego/valet-linux/

It's famous in Linux community

Do i have to visit the requirements section and install everything there before requiring valet globally ? because I get

PHP Fatal error: Uncaught DomainException: No compatible package manager found. in /home/aebr/.config/composer/vendor/cpriego/valet-linux/cli/Valet/Valet.php:131

and then when I type in the terminal

$ valet install

in the terminal

I get this

You have missing Valet dependencies:

jq

xsel

and how do I make valet work with phpmyadmin, cause I'm familiar with it since when I start coding, thanks

Do I Have to install nginx and mariadb before installing this package ? thanks a lot

And then I found this article from Eric L. Barnes

https://laravel-news.com/valet-for-ubuntu-linux

But when I try to type the first command there because I'm using Eopkg from solus

     $ sudo eopkg install libnss3-tools jq xsel

I get a freaking :

System error. Program terminated.
Repo item libnss3-tools not found

What the heck, why do I experience all of this all things

0 likes
0 replies

Please or to participate in this conversation.