How can i configure laragon to create a default snippet


  • | 649 points

    for example when I type art, that would automatically mean php artisan. can I do that ? ??


  • administrators
    | 55193 points

    @abrhambas02: Sure, you can and it's very easy.
    Ensure you are using Laragon Full. Then:

    1. Open Menu > Laragon > Terminal
    2. Type:
    alias art=php artisan $*
    

    That's all. Now, test to see your route list

    art route:list
    

    λ art route:list
    +--------+----------+----------+------+---------+--------------+
    | Domain | Method | URI | Name | Action | Middleware |
    +--------+----------+----------+------+---------+--------------+
    | | GET|HEAD | / | | Closure | web |
    | | GET|HEAD | api/user | | Closure | api,auth:api |
    | | GET|HEAD | mem | | Closure | web |
    +--------+----------+----------+------+---------+--------------+
    Enjoy!


  • | 649 points

    Thank you it solved


  • administrators
    | 55193 points

    Cool! Cheers :)


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.