如何用atom编辑php,???? ????我最喜欢的Atom编辑器上用于PHP开发的软件包

Hello guys, this is my first post on dev.to and today, I'll be sharing with you the list of packages, how to install them on your atom text editor giving it a new look and making your coding moment more fascinating and enjoyable.

LET'S GET STARTED ????????????

1. Atom-beautify ????

Guess what it's one of its kind. Wait are you worried about indentations? ???? this will save you and make your codes more clean and organized.

to install, press ctrl + alt + T this will open your terminal on ubuntu and probably on Mac Os too, then type or copy the following command apm install atom-beautify to the terminal

2. linter ????

This provide you with option to view errors in your codes without stress. To install, copy or type apm install linter.

Note You might want to install specific linter for different work and languages you're using

3. Autocomplete-paths

Just as it sounds, it'll autocomplete the missing path. I love this package with my ???? heart and I can't live without it. funny! ????

By now, you should know how to install this package apm install autocomplete-paths so simple right??????

Let's test this out by typing fun (function) and we see this

03b26b945f3a23f8e3efe8a812c9bae7.png

Hold on, now press enter. You should see the autocomplete working now.

e4f739603bc296e337e05937ea872b8d.png

4. File-icons

File icons is a lovely package every atom user must have (sorry not a must but choice)

d664b092dfcb2bfcd267713f107593fc.png

5. php-cs-fixer

No 1 package. I can't explain why I kept it as the 5th. This is PHP Coding Standards Fixer.

The installation is quiet different from the rest of the package. We need to meet the requirement by making the package available on our path. Sorry for the long story

The following steps will solve it.

Navigate to your terminal

Check if composer is installed by executing composer -v. This will check the version of composer. However, you can follow this link to install composer

1e5a2667aac6eee97966a5b77b67e79f.png

You should see the above output if composer is installed

Next, copy and paste $ composer global require friendsofphp/php-cs-fixer to your terminal

Lastly, copy $ export PATH="$PATH:$HOME/.composer/vendor/bin"

Bonus:

Figlet

With figlet, you can convert a selection into ascii-art which is sometimes useful when documentin g.

language-blade

Must have for every Laravel developer

highlight-selected

THE END

Something missing? leave a comment, I can't wait to see other amazing packages

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值