Package Details: phpstorm 2016.1.2-1

Git Clone URL: https://aur.archlinux.org/phpstorm.git (read-only)
Package Base: phpstorm
Description: Lightweight and Smart PHP IDE
Upstream URL: http://www.jetbrains.com/phpstorm/
Keywords: development ide php
Licenses: Commercial
Submitter: None
Maintainer: frederik
Last Packager: frederik
Votes: 124
Popularity: 5.199755
First Submitted: 2011-01-22 19:28
Last Updated: 2016-05-25 19:57

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

bcremer commented on 2016-05-11 14:17

New important security update was just released
https://download.jetbrains.com/webide/PhpStorm-2016.1.1.tar.gz
sha256 442d98120763932bc34545df022171baca5d2bc44e34b1f36f949e4355b99441

See:
http://blog.jetbrains.com/blog/2016/05/11/security-update-for-intellij-based-ides-v2016-1-and-older-versions/

frederik commented on 2016-03-21 18:51

@KingCrunch: Thank you. Gonna fix PKGBUILD.

So their "System requirements" on this page are completely wrong:
https://www.jetbrains.com/phpstorm/download/#section=linux-version

KingCrunch commented on 2016-03-21 18:39

@frederik

No

/opt/phpstorm$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (Arch Linux build 7.u95_2.6.4-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
/opt/phpstorm$ bin/phpstorm.sh

Unsupported Java Version: Cannot start under Java 1.7.0_95-b00: Java 1.8 or later is required.


To be fair it was not that obvious to find some information

See also
https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under
https://blog.jetbrains.com/phpstorm/2016/01/phpstorm-11-early-access-program-started/

frederik commented on 2016-03-19 01:11

@KingCrunch Please see phpstorm page. It depends on 'Oracle JRE 1.6+ or OpenJDK 1.7+'

KingCrunch commented on 2016-03-19 00:57

The intelliJ-platform requires Java >=8

frederik commented on 2016-03-18 20:03

@declasun: thx for the hint. I don't think that a wrapper around the startscript is a good way to achieve this. I've just added a profile.d file and a note in the PKGBUILD.

dcelasun commented on 2016-03-18 15:13

@frederik: intellij-idea-ultimate-edition [0] recently merged this [1] patch so IDEA would prefer the system JDK. Could you also make the same change here?

[0] https://aur.archlinux.org/packages/intellij-idea-ultimate-edition
[1] https://gist.github.com/rbellamy/5e8d61a449bbff5132aa#file-0001-honor-idea_jdk-set-by-environment-patch

retzudo commented on 2016-02-01 13:29

Thanks Wietse for the explanation and workaround. Starting PhpStorm with `WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk /opt/phpstorm/bin/phpstorm.sh` from the terminal did in fact work for me.

I copied the desktop file located at /usr/share/applications/jetbrains-phpstorm.desktop to ~/.local/share/applications/, changed the Exec line from

Exec="/opt/phpstorm/bin/phpstorm.sh" %f

to

Exec=env WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk "/opt/phpstorm/bin/phpstorm.sh" %f

logged out and back in (GNOME wouldn't pick up the new desktop file otherwise) and Bob's your uncle. No more ugly fonts. This fix should persist through updates.

Wietse commented on 2016-01-31 11:48

@retzudo PhpStorm uses it's own packaged Oracle Java JDK, which causes the fonts to be terribly ugly.

Phpstorm tries to locate a JDK installation directory which will be used to run the IDE in the following order: WEBIDE_JDK, ../jre, JDK_HOME, JAVA_HOME, "java" in PATH.

The clean solution is to set the WEBIDEA_JDK environment variable to the OpenJDK path. For some reason this did not work for me, but I did not feel like spending a lot of time to find out why, so I just renamed /opt/phpstorm/jre to something else so PhpStorm would use JDK_HOME instead. (I will have to do this after each PhpStorm update.)

PhpStorm does not officially support OpenJDK, but I have experienced no problems so far.

retzudo commented on 2016-01-21 14:00

With PhpStorm 10 I once again have font rendering issues that other people and I had with PhpStorm 9 (i.e. no anti-aliasing). The PKGBUILD for 9 had these lines to fix the issue:

# fixing FS#40934 here too
sed -i 's/lcd/on/' "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"
echo "-Dswing.aatext=true" >> "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"

So I tried to replicate that in /opt/phpstorm/bin/phpstorm64.vmoptions which didn't help. I also copied the file to ~/.WebIde100/ which also didn't fix the font rendering.
Running PhpStorm via `_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' phpstorm` also didn't make any difference.

I have infinality packages installed (fonts & JRE/JDK) and font rendering in PhpStorm 9 (installed via commit b164826 & makepkg) works correctly.

Suggestions?

frederik commented on 2016-01-12 11:42

@ram4nd Could you point me to a complete list of additional tools which phpstrom optdepends on?

ram4nd commented on 2016-01-12 08:54

Please add optional dependencies for closure-linter, code-sniffer, etc... Linters and tools for code validation.

m79reed commented on 2015-11-12 10:59

It looks like the download service had temporary problems. File size is correct now: 198M. Thanks for response.

frederik commented on 2015-11-12 10:34

The checksum in the PKGBUILD ist correct, see here: https://download.jetbrains.com/webide/PhpStorm-10.0.1.tar.gz.sha256

m79reed commented on 2015-11-12 10:32

==> Validating source files with sha256sums...
PhpStorm-10.0.1.tar.gz ... FAILED

$ wget https://download.jetbrains.com/webide/PhpStorm-10.0.1.tar.gz
$ sha256sum PhpStorm-10.0.1.tar.gz
140b5e45a6d9a3333300ecf6224f6d49abbdc385883c448ce649a38c91a06b0d PhpStorm-10.0.1.tar.gz

Note:
PhpStorm-10.0.tar.gz (198M)
PhpStorm-10.0.1.tar.gz (94M) ?

marcvangend commented on 2015-10-21 20:38

Thank you Frederik. I have posted a feature request upstream (https://youtrack.jetbrains.com/issue/WI-29408).

frederik commented on 2015-10-20 22:42

Dear Marc,
there are two ways to create the .desktop-file:

1) Start a fresh installed PhpStorm (or temporary move you ~/.WebIde90 folder) and you'll be asked if you like to create a desktop shortcut

2) Start a previously used PhpStorm. On the first screen where you can choose between your last projects (if you haven't set the option to always open the last project), choose Configure -> Create Desktop Entry

In both cases if you uncheck "Create entry for all users" you find the .desktop file in ~/.local/share/applications.

marcvangend commented on 2015-10-20 22:06

Thanks frederik, I didn't realize this was coming from upstream, I only saw its existence in https://aur.archlinux.org/phpstorm.git.

Sure enough I can file a bug report / feature request upstream, but when I do I want to be sure I know all facts and details. Can you please point out where in the upstream archive this default phpstorm.desktop file is stored? There is no install script in there so it is not generated on-the-fly, is it?

Thanks, Marc

frederik commented on 2015-10-20 14:29

Hi marcvangend,
I agree with you, that the latest change is not "optimal".
To understand the changes I made, you should know that the desktop file that I have updated, is the one that is generated by the application itself. Since ArchLinux follows the KISS principle I think the best way to request the changes to the desktop file is upstream[1].
As soon as PhpStorm generates a proper desktop file I will update this package.

If you like to permanently change the behaviour on your desktop, put the edited desktop file into ~/.local/share/applications. This will overwrite the one in the package.

Cheers,
Frederik

[1] https://youtrack.jetbrains.com/issues/WI

marcvangend commented on 2015-10-20 14:20

@frederik it's awesome that you respond to requests from the community so quickly. Thanks for that. However...

In phpstorm.desktop, line 5:

-Icon=phpstorm
+Icon=/usr/share/phpstorm/bin/webide.png

This change in the latest build forces all users to use the default icon, even if you're using a custom icon theme (eg. Numix-circle provides https://github.com/numixproject/numix-icon-theme-circle/blob/190c9608756a64e18473f7289f43a0c88480d3c9/Numix-Circle/48x48/apps/phpstorm.svg). It is not the responsibility of the package to choose exactly which icon file is used. IMHO if vanilla Gnome (with the default icon theme) does not find the correct high-res icon when asked for the "phpstorm" icon, that problem should be fixed elsewhere, not in the .desktop file.

elvetemedve commented on 2015-10-19 20:26

Application icon of the latest PHPStorm (9.0.2-1) looks ugly under Gnome 3 (low resolution image on high zoom), because the window class is incorrect in phpstorm.desktop file. The line for that should look like this:
StartupWMClass=jetbrains-phpstorm9.0.2

t638403 commented on 2015-10-16 18:42

I had problems running phpstorm with glib2 2.46.1, see links for more info:
https://youtrack.jetbrains.com/issue/IDEA-146262
https://bbs.archlinux.org/viewtopic.php?id=203554
https://bugs.archlinux.org/task/46619

fzerorubigd commented on 2015-08-18 16:20

hash is not correct.

nineinchnick commented on 2015-08-12 12:19

A new version is available:

Version: 9.0.1
Build: 141.2402
Released: August 12, 2015

snout commented on 2015-03-04 10:51

Does anyone know which part(s) of PHPstorm actually depend on JDK (java-environment)? I've been running it on JRE (java-runtime) for a while and so far haven't found anything that doesn't work.

Jetbrains specifically state JDK is required, so I don't think the package should change its dependency (yet), but...

r1pp3rj4ck commented on 2015-02-13 21:05

Shit, sorry, I actually compiled the stuff and all but forgot to upload it here. I'm getting drunk right now but when I get home I will upload it. In the meantime you can download it from my Github: http://github.com/r1pp3rj4ck/aur-pkgs

chrko commented on 2015-02-13 20:27

But now is 8.0.3 out ;)

r1pp3rj4ck commented on 2015-02-05 12:56

@fzerorubigd no problem :)

fzerorubigd commented on 2015-01-17 05:38

@r1pp3rj4ck sorry for wrong out of date notify. my mistake. It was early access suggestion.

r1pp3rj4ck commented on 2014-12-30 16:22

@sender, the package is NOT out of date. 8.0.3 is an EAP version (early access preview). If you want to use it, you can switch to the phpstorm-eap[1] package.

@rikless, as @falmp has explained, this is not the package's fault. --asroot was never considered the best way to build packages (from the man page: This is for security purposes as it is normally dangerous to do so). You should build the package as a normal user instead of root.

[1] - https://aur.archlinux.org/packages/phpstorm-eap

falmp commented on 2014-12-29 16:45

Which AUR helper are you using? --asroot is no longer a valid option to pacman, so I know at least packer is still using it and should be fixed soon (https://github.com/keenerd/packer/issues/131). Not sure about yaourt or other AUR helpers, but you might wanna try downloading the .tar.gz, extracting it and running makepkg -sic inside the extracted directory (that's what the AUR helper is basically doing anyway).

falmp commented on 2014-12-29 16:45

Which AUR helper are you using? --asroot is no longer a valid option to pacman, so I know at least packer is still using it and should be fixed soon (https://github.com/keenerd/packer/issues/131). Not sure about yaourt or other AUR helpers, but you might wanna try downloading the .tar.gz, extracting it and running makepkg -sic inside the extracted directory (that's what the AUR is basically doing anyway).

rikless commented on 2014-12-29 16:31

It looks like since last pacman update, you can't install Jetbrains software :

makepkg: invalid option '--asroot'
Impossible to read PKGBUILD


kamazee commented on 2014-12-11 17:31

8.0.2 is out!
http://blog.jetbrains.com/phpstorm/2014/12/phpstorm-8-0-2-bug-fix-update-is-available/
Things to change in the PKGBUILD (other than pkgver):
Build number (_pkgbuild): 139.732
SHA256: 0d46442aa32174fe16846c3c31428178ab69b827d2e0ce31f633f13b64c01afc → 2ec7766bbd0176b3f84335ff01590817d3c8a295211e9641d3e144ae4ddf6805

roheim commented on 2014-09-18 18:26

PKGBUILD for 8.0.1 can be found here: http://pastebin.com/raw.php?i=mQDN4Nfa

marcvangend commented on 2014-09-18 08:07

The PKGBUILD by dcelasun worked perfectly for me. Thanks.

dcelasun commented on 2014-09-16 14:02

PhpStorm 8 is out! http://blog.jetbrains.com/phpstorm/2014/09/phpstorm-8-released-with-blade-behat-wordpress-remote-php-interpreters-and-more/

Updated PKGBUILD: http://pastebin.com/aDx3r7XB

dcelasun commented on 2014-09-16 13:47

PhpStorm 8 is out! http://blog.jetbrains.com/phpstorm/2014/09/phpstorm-8-released-with-blade-behat-wordpress-remote-php-interpreters-and-more/

r1pp3rj4ck commented on 2014-08-27 09:24

Sorry, missed that one :/ Should work now.

SZoPer commented on 2014-08-26 20:38

@muesli: Change line 7 of PKGBUILD to this:

_pkgbuild=133.1777

muesli commented on 2014-08-26 18:34

Getting this error:

==> Starting package()...
cp: cannot stat ‘/tmp/yaourt-tmp-muesli/aur-phpstorm/src/PhpStorm-133.982’: No such file or directory

marcvangend commented on 2014-06-27 07:33

I had a font rendering problem as well after the update (there was no text anywhere in PhpStorm). The solutions in the comments below didn't look as good as I expected (jagged fonts) but the solution at https://bbs.archlinux.org/viewtopic.php?pid=1427985#p1427985 worked perfectly for me.

falmp commented on 2014-06-19 11:40

Is it only here the system fonts (menus, buttons, etc.) got too small with these system properties passed as a workaround?

Skullcrasher commented on 2014-06-19 03:14

got the font rendering issue here too. With adding the stuff from bitdagger it worked, although the font looks not perfectly antialiased. A patch would be appreciated :)

For me these two settings worked/looked better:

-Dswing.aatext=true
-Dawt.useSystemAAFontSettings=on

Skullcrasher commented on 2014-06-19 03:11

got the font rendering issue here too. With adding the stuff from bitdagger it worked, although the font looks not perfectly antialiased. A patch would be appreciated :)

bitdagger commented on 2014-06-17 19:14

Can we add a patch to fix the font rendering issue in the latest openjdk?

The following needs to be added to the /usr/share/phpstorm/bin/phpstorm64.vmoptions file:

-Dswing.aatext=true
-Dawt.useSystemAAFontSettings=gasp
-Dsun.java2d.xrender=true

pelmennoteam commented on 2014-02-26 03:43

md5sum 5c68dce5fa53ce2ff42fa8a590561c40 for new version (7.1.3)

r1pp3rj4ck commented on 2013-12-17 16:50

Updated to PhpStorm PHP 7.1. You can contribute now here: https://github.com/r1pp3rj4ck/phpstorm-archlinux

@marcvangend, thanks for pinging me
@thenonameguy, thanks for testing the package while I'm forced to use Ubuntu :D

marcvangend commented on 2013-12-17 14:13

Version 7.1 is out. http://blog.jetbrains.com/phpstorm/2013/12/phpstorm-7-1-update-released-search-everywhere-lens-mode-svn-1-8-and-more/

r1pp3rj4ck commented on 2013-11-20 06:38

lib32-glibc removed from deps. Actually, I'm not sure why I included it in the first place, sorry about that :/

Michitux commented on 2013-11-19 15:49

The lib32-glibc dependency breaks building/installing on i686 platforms as without multilib repository this package doesn't exist - please remove this dependency at least on i686. Thank you!

Tucker commented on 2013-11-08 08:07

Can someone point out to me the need of the lib32-glibc dependency?

I removed that for now and test my installation - so far no bugs or crashes.
Of course i would stop any further evaluation - if there is a showstopper!

Thx.

By the way: eap package comes without the dependency.

edke commented on 2013-11-04 10:52

There is package in AUR, that follows Jetbrains's EAP pogramme:
https://aur.archlinux.org/packages/phpstorm-eap/

r1pp3rj4ck commented on 2013-11-04 10:42

Emmaseven, 7.0.1 is not released yet. There is however an Early Access Preview, and if you want to use that, you can install this package: http://blog.jetbrains.com/phpstorm/

I'm unflagging this package for now.

Emmaseven commented on 2013-11-04 07:12

Please upgrade to 7.0.1

r1pp3rj4ck commented on 2013-10-25 08:53

marcvangend: done, thanks :)

marcvangend commented on 2013-10-25 08:27

I use Docky (http://go-docky.com) and ran into 2 problems since the upgrade to version 7:
A) Docky didn't display the PhpStorm icon correctly
B) It didn't allow me to pin PhpStorm to the dock
This happens because Docky does not know the relation between the .desktop launcher and the java application it spawns. This can be solved by adding the following line to phpstorm.desktop:

StartupWMClass=jetbrains-phpstorm

I hope you can add this to the package. Thanks!

r1pp3rj4ck commented on 2013-10-24 07:18

grindcore: thanks, fixed both of them!

grindcore commented on 2013-10-23 21:51

I'm facing two problems

1) In /usr/bin are two scripts: phpstorm and phpstorm.sh, whereof just phpstorm.sh is working. /usr/bin/phpstorm results in the following error:

Error: Main class com.intellij.idea.Main could not be found or be loaded

2) The native file watcher executable is not found. See the following bug of intellij-idea-libs: https://bugs.archlinux.org/task/34703

r1pp3rj4ck commented on 2013-10-23 12:34

edke: thank you!
scarpino: working on it

edke commented on 2013-10-23 12:05

Disowned package, wish good luck to new maintainer :-)

ilpianista commented on 2013-10-23 11:48

BTW, $startdir is deprecated

ilpianista commented on 2013-10-23 11:48

install: cannot stat ‘/tmp/phpstorm/phpstorm-eap.desktop’: No such file or directory

ryad.eldajani commented on 2013-10-23 09:41

PhpStorm 7.0 PKGBUILD:
https://raw.github.com/ryad-eldajani/pkgbuild/master/phpstorm/PKGBUILD

r1pp3rj4ck commented on 2013-10-22 12:38

PhpStorm 7.0:
http://pastebin.com/bnZLGGE7

roheim commented on 2013-06-24 18:33

PhpStorm 6.0.3:
http://pastebin.com/AeqFiNtp

roheim commented on 2013-06-24 18:24

PhpStorm 6.0.3 released.
http://download.jetbrains.com/webide/PhpStorm-6.0.3.tar.gz

ryad.eldajani commented on 2013-05-15 07:08

PhpStorm 6.0.2 released.
PKGBUILD: https://raw.github.com/ryad-eldajani/pkgbuild/master/phpstorm/PKGBUILD

ryad.eldajani commented on 2013-04-18 07:10

PhpStorm 6.0.1 released.
PKGBUILD Patchfile: http://pastebin.com/NJ3gwVP0

edke commented on 2013-03-28 08:29

Latest release is EAP, if you check product page, stable release is still 6.0. If you want latest release, please switch to phpstorm-eap package and follow EAP programme.

Anonymous comment on 2013-03-16 12:07

edke: thanks! looks like it works now! :)

edke commented on 2013-03-15 21:10

skwo: added, please report back if working as requested.

Anonymous comment on 2013-03-13 09:27

Following masser comments, can the maintainer add
options=(!strip)
to the MAKEPKG?
Without this, PhpStorm complains about "External file sync may be slow" due to outdated fsnotifer or fsnotifer64 (on x86_64 systems)
For more details http://forum.jetbrains.com/thread/PyCharm-1329

Anonymous comment on 2013-03-12 16:55

phpstorm6 is now released http://www.jetbrains.com/phpstorm/whatsnew/index.html

edke commented on 2013-02-12 01:58

Added to makepkg.conf and rebuilded both packages.

masser commented on 2013-02-11 15:34

Stripping the fsnotifier debug symbols causes notices of outdated native FileWatcher.

Could the maintainer please add options=(!strip) to the MAKEPKG?

edke commented on 2012-11-22 05:59

Dropped conflict with phpstorm-eap, more in discussion at https://aur.archlinux.org/packages/phpstorm-eap/

edke commented on 2012-11-19 07:40

@atommixz As you can see, java dependency (java-runtime>=6)is set correctly. Therefore upon installing this had to be settled. Check or re-install your Java. I use JDK from AUR, currently 7.9-2

atommixz commented on 2012-11-19 07:31

$ phpstorm
ERROR: cannot start PhpStorm.
No JDK found. Please validate either WEBIDE_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.

Press Enter to continue.

edke commented on 2012-11-02 14:54

Updated to 5.0.4 (build 121.390).

edke commented on 2012-10-24 08:04

Updated to 5.0.3 (build 121.351).

edke commented on 2012-10-03 13:05

Updated to 5.0.2 (build 121.285).

edke commented on 2012-09-13 07:05

@andrgrau btw issues with 5.0 that I was writing to you about seem to be resolved in 5.0.1.

andrgrau commented on 2012-09-13 06:52

Thanks!

edke commented on 2012-09-12 22:53

Updated to 5.0.1 (build 121.215).

edke commented on 2012-09-11 14:16

As andrgrau suggested, downgraded back to 4.0.3 till final stable 5.0 comes out.

andrgrau commented on 2012-09-11 06:48

Me neither unless a colleague told me so. I haven't been experiencing bugs but I'm not using very intensely.

edke commented on 2012-09-11 06:36

@andrgrau didn't now and experienced some bugs myself, had to revert back to 4.0.3, will revert package also.

andrgrau commented on 2012-09-11 06:21

Thanks for updating to version 5 but it is not yet officially released and is consoidered to be a RC due to some bugs.

edke commented on 2012-07-13 21:12

Updated to latest 4.0.3 (build 117.746).

edke commented on 2012-06-12 11:04

Added link to phpstorm.sh to /usr/bin.

bab00n commented on 2012-06-01 11:20

Hello,

md5sums and pkgbuild are outdated, please, update your script to :

pkgbuild=117.501
md5sums=('d8005bbaadfbc57c991834ca9e1ee3fc')

Thanks !

edke commented on 2012-05-30 04:46

Updated to latest 4.0.2 (build 117.474)

@Popcorned thank you

Anonymous comment on 2012-05-29 20:39

4.0.2 has been released: http://blog.jetbrains.com/webide/2012/05/phpstorm-webstorm-4-0-2/

edke commented on 2012-05-02 20:41

Updated to latest 4.0.1 (build 117.257)

@ggayan thank you

Anonymous comment on 2012-05-02 14:35

last version is 4.0.1 now :)

edke commented on 2012-04-24 13:01

Updated to latest 4.0 (build 117.222).

@andrgrau thanx for noticing.

andrgrau commented on 2012-04-17 11:15

The new version is out :-)

mrozanc commented on 2012-02-28 09:32

You are welcome :)

mrozanc commented on 2012-02-28 09:32

As there is no changelog published, I have check here http://youtrack.jetbrains.com/issues/WI?q=%233.0.3+%23Fixed+
The fixes are mainly for the JavaScript platform.

edke commented on 2012-02-28 09:28

Updated to build 111.344, version 3.0.3 (thanx Chinoisfurax for noticing).

mrozanc commented on 2012-02-28 09:10

PhpStorm 3.0.3 (build 111.344) is available at http://download.jetbrains.com/webide/PhpStorm-3.0.3.tar.gz
md5sum for this package is af1a42bd3a3ba7f20efc55c861870a39
This release is not announced on the jetbrains site but is indicated in the IDE menu (Help/Check for Update…)

edke commented on 2012-02-07 22:42

As there is no RSS for comments of package or updates (or there is?), follow @edke on twitter to get updates.

edke commented on 2012-02-07 22:31

Updated to build 111.296, version 3.0.2

edke commented on 2012-01-31 15:52

Updated to build 111.271, version 3.0.1

dcelasun commented on 2011-10-29 22:11

Package adopted and updated.

mortan commented on 2011-06-03 16:07

Needs update or orphan!

edke commented on 2007-01-01 00:18

Package disowned (thank you mortan), adopted and updated to just released PhpStorm 3.0 (build 111.19).