朱纯树博客
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

评论 53

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

    I think the admin of this web page is really working hard for his website,
    because here every material is quality based material.

    tinyurl.com4周前 (06-08)回复
  2. #59

    My brother suggested I might like this website. He was entirely
    right. This post actually made my day. You can not imagine just how much time I had spent
    for this information! Thanks!

    tinyurl.com4周前 (06-08)回复
  3. #58

    This article will help the internet users for building
    up new web site or even a weblog from start to end.

    tinyurl.com4周前 (06-06)回复
  4. #57

    Appreciate the recommendation. Let me try it out.

    tinyurl.com4周前 (06-06)回复
  5. #56

    Appreciate this post. Will try it out.

    http://t.co/4周前 (06-05)回复
  6. #55

    Hey There. I found your blog using msn. This is a really well written article.
    I will be sure to bookmark it and come back to read more of your
    useful information. Thanks for the post. I will definitely return.

  7. #54

    Wow that was unusual. I just wrote an really long
    comment but after I clicked submit my comment didn’t
    show up. Grrrr… well I’m not writing all that over again. Regardless, just
    wanted to say great blog!

    tinyurl.com2个月前 (05-11)回复
  8. #53

    Hi are using Wordpress for your site platform? I’m new to the blog
    world but I’m trying to get started and set up my own. Do you require
    any coding expertise to make your own blog? Any help would be greatly appreciated!

    http://tinyurl.com2个月前 (05-10)回复