You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminal tool to enhance laravel artisan experience and productivity.
4
12
@@ -14,73 +22,63 @@ Terminal tool to enhance laravel artisan experience and productivity.
14
22
```bash
15
23
sh -c "$(curl -fsSL https://raw.githubusercontent.com/migueweb/laravel-aliases/main/install.sh)"
16
24
```
17
-
## Usage
18
-
19
-
Commands have a default structure in which they take the first two letters of the original artisan command group and the first three letters of the command but there are exceptions for example commands that only take the first two letters or the first three letters of the original or others that add three extra letters at the end.
20
-
21
-
```bash
22
-
cache:clear # cache is the command group and clear is the command
23
-
ca:cle # Laravel-aliases
24
-
```
25
-
26
-
To see all the commands use `laravel-aliases` or `lases`
27
-
28
-
### execptions
29
-
30
-
Commands using only the first letter of the original artisan command
31
-
32
-
- queue: q
33
-
- make: m
34
-
- route: r
35
-
36
-
Commands using only the three first letters of the original artisan command
37
-
38
-
- schedule: sch
39
-
40
-
#### utilities
41
-
42
-
`art` is a equivalent to `php artisan`
43
-
e.g
44
-
45
-
```bash
46
-
# laravel-aliases
47
-
art --version
48
-
49
-
# artisan
50
-
php artisan --version
51
-
```
52
-
53
-
There are also commands that help you to write less code, such as these
Please see [contributing.md](CONTRIBUTING.md) for details.
28
+
Commands have a default structure in which they take the first two letters of the original artisan command group and the first three letters of the command, but there are exceptions, for example commands that only take the first two letters or the first three letters of the original or others that add three extra letters at the end.
29
+
30
+
### Example
31
+
32
+
`php artisan cache:clear`
33
+
cache is the command group and clear is the command and `ca:cle` is the Laravel aliases equivalent
34
+
35
+
### Commands
36
+
37
+
| Artisan | Laravel aliases |
38
+
| ------------ | --------------- |
39
+
| auth | au |
40
+
| cache | ca |
41
+
| config | co |
42
+
| db | db |
43
+
| env | en |
44
+
| event | ev |
45
+
| jetstream | je |
46
+
| lang | la |
47
+
| livewire | li |
48
+
| make | m |
49
+
| migrate | mi |
50
+
| model | mo |
51
+
| notification | no |
52
+
| optimize | op |
53
+
| package | pa |
54
+
| queue | q |
55
+
| route | r |
56
+
| sail | sa |
57
+
| sanctum | san |
58
+
| schedule | sch |
59
+
| session | se |
60
+
| storage | st |
61
+
| stub | st |
62
+
| vendor | ve |
63
+
| view | vi |
64
+
65
+
66
+
If you want to use commands without group like serve, migrate, tinker, etc. You can use `art` before of command, this is an equivalent to `php artisan`. Example `art serve` equivalent to `php artisan serve`
Hey if you want to add more documentation, aliases, functions, improve the code or report issues, you are welcome. Please see 😉👉 [contributing.md](CONTRIBUTING.md) for details.
0 commit comments