I would like to install an IDE for PHP

Is there any IDE that could debug *.php file / project under openSUS Leap 42.3 ?

There are a number of options, but some more suited to some situations than others.

One very popular IDE that costs for professional use but with a student discount and free to certain projects is PHPStorm

https://www.jetbrains.com/phpstorm/

Completely free, but can be an enormous install is the “do everything” Eclipse IDE. Although you can install from the OSS, many will instead recommend that you install from the Eclipse website to get a version set up for your specific use.

\https://www.eclipse.org/ide/

If you have any issues installing either, just post…

I’d recommend the above for first IDE…
If you’re a more advanced coder who is more familiar with project structure, you might consider an extendable advanced text editor like Sublime Text.

TSU

Some people like KDE because it (usually, often, sometimes) does a very good job …
Others, such as my (not so humble) self, like KDE because of it’s collection of good quality tools, such as KDevelop
Take a look at the current KDevelop feature list – PHP support is there by default: <https://www.kdevelop.org/features> <https://www.kdevelop.org/> …

I am a beginner in PHP and at all …
I have downloaded: eclipse-php-2018-09-linux-gtk-x86_64.tar.gz, extracted it into **/home/
**This way now I can start eclipse for PHP
I opened my file: index.php and ran it:

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/......../eclipse-workspace/......../index.php:186

184        public function query($query)
185        {
186            $this->stmt = $this->dbh->prepare($query);
187        }

I am using openSUSE 42.3 Xfce …
I don’t like the menu of KDE GUI, but if it is possible I will install KDevelop under Xfce …

Personally, I have never considered a “don’t like” to be a reason for not wanting to use a tool …

And, KDE is very flexible – if you “don’t like” an «eye candy» you can change it …

  • Personally, I am not a fan of the ‘Breeze’ icons – they’re quite simply not my “flavour of the month” – which is why I prefer to use the “Oxygen” scheme …
    [LIST]
  • With the “Air openSUSE” design … >:)

[/LIST]

KDevelop news – hot off the press – note the new PHP features … <https://www.kdevelop.org/news/kdevelop-530-released>.

Eh, did you know that KDE has a couple of alternatives for the kicker menu?
Right click the kicker menu’s item
Unlock Widgets
Right click again
Alternatives.

Like you, I use Xfce, and like you, I do not like what they have done with KDE/Plasma.

But, some of the KDE apps are very good, and run just fine in Xfce. I use several in my Xfce Desktop.

I installed successfully KDevelop. It seems a very useful IDE.
I hope I will fall in love with KDevelop :kiss: