朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

把laravel php artisan 命令缩写为pa

使用laravel 的artisan 命令需要输入: PHP artisan

这样未免太麻烦

如果你使用 homestead 的话,php 前缀可以不需要的。直接

artisan

另外 homestead 的 aliases 文件中已经自定义了很多的命令行简写
其实 我们只需要

art

即可代替 artisan 命令。

同样的

// npm run dev 可以简写成:
nrd

// npm run watch --watch-poll 可以简写成:
nrww

也可以在终端输入:

alias pa="php artisan"

这样以后输入 pa 就可以了代替 php artisan 了

赞(1) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 把laravel php artisan 命令缩写为pa

评论 66

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #75

    Your style is unique in comparison to other folks I’ve read stuff from.
    Thanks for posting when you’ve got the opportunity, Guess
    I will just book mark this blog.

    my blog post: tracfone 2022

  2. #74

    As the admin of this site is working, no doubt very shortly it will be renowned, due to its feature contents.

    www.sanddtier.wiki3个月前 (09-10)回复
  3. #73

    Hey there just wanted to give you a quick heads up. The words
    in your article seem to be running off the screen in Safari.
    I’m not sure if this is a format issue or something to do with web browser compatibility but I thought I’d post
    to let you know. The style and design look great though!
    Hope you get the issue fixed soon. Thanks

    tinyurl.com3个月前 (09-05)回复
  4. #72

    What’s up to all, the contents existing at this website are genuinely
    amazing for people experience, well, keep up the good work fellows.

    tinyurl.com4个月前 (08-15)回复
  5. #71

    Great article! That is the kind of info that are meant to be shared around the internet.
    Shame on the seek engines for now not positioning this put up upper!
    Come on over and seek advice from my web site . Thanks =)

    tinyurl.com4个月前 (08-13)回复
  6. #70

    In fact when someone doesn’t understand then its up to other
    viewers that they will assist, so here it occurs.

    tinyurl.com4个月前 (08-12)回复