Skip to content

Commit 67a1c9d

Browse files
committed
update readme
1 parent 1c274e5 commit 67a1c9d

File tree

1 file changed

+40
-23
lines changed

1 file changed

+40
-23
lines changed

README.md

+40-23
Original file line numberDiff line numberDiff line change
@@ -8,78 +8,95 @@
88

99
<p align="center">
1010

11-
<h3 align="center">📦 Basic laravel insallation if you dont have composer install or you just too lazy to install composer 📦</h3>
11+
<h3 align="center">📦 Installing Laravel without using composer or laravel sail 📦</h3>
1212

1313
<p align="center">
1414
</a>
1515
<a href="https://www.php.net">
1616
<img src="https://img.shields.io/badge/php-%3E%3D7.4-%23777BB4" />
1717
</a>
1818
<a href="https://laravel.com">
19-
<img src="https://img.shields.io/badge/laravel-8.83 | 9.34 -%23EC4E3D" />
19+
<img src="https://img.shields.io/badge/laravel-8.83 | 9.48 -%23EC4E3D" />
2020
</a>
2121
</p>
2222

2323

2424
</p>
2525

26-
## What is this?
27-
A basic laravel setup with already composer install running. So you dont have to install any composer or sail (docker) to run laravel.
2826

2927
## Problem Statement
3028
There is many time I need to create a Laravel project but there is no composer install on the machine or I just cant install composer due to sudo issue.
3129

32-
This happen many times, especially during new docker installation and it's feel like a sin to install composer on docker just to run it once and then never touch it again.
30+
This happen many times, especially during new docker installation and it's feel like a sin to install composer on a docker just to run it once and then never touch it again.
31+
32+
## What is this?
33+
A bash script to install laravel with vendor folder pre-installed. So you dont have to install any composer or sail (docker) to run laravel.
3334

34-
## Installation
3535

36-
**Prerequisite**
36+
## Prerequisite
3737

3838
| Version | PHP(*) |
3939
|---------|---------|
4040
| Laravel 8 | 7.3-8.1 |
4141
| Laravel 9 | 8.0-8.1 |
4242
| Laravel 10 | 8.1 |
4343

44-
* To install, use <b>CURL</b> method as below
44+
## Installation
45+
46+
To start installing Laravel, run below *curl* or *wget* command
47+
48+
- If you prefer to use CURL
4549
```sh
4650
bash <(curl -s https://raw.githubusercontent.com/alifdarsim/laravel-no-composer/master/curl.sh)
4751
```
4852

49-
* Or if you dont have curl installed, use <b>wget</b> instead
53+
- Or you want wget instead
5054
```sh
5155
bash <(wget -O - https://raw.githubusercontent.com/alifdarsim/laravel-no-composer/master/wget.sh)
5256
```
5357

54-
After the installation finish, run below command to run laravel
58+
You will be promped to name your Laravel project and choose Laravel version to install
59+
```sh
60+
Enter your Laravel project name (eg: my-project)
61+
> my-project
62+
Choose Laravel version to install:
63+
Laravel 8.x
64+
> Laravel 9.x
65+
Laravel 10.x
66+
```
67+
5568

56-
1. Generate application key:
69+
After the installation finish, run below command to run your laravel project
70+
71+
```sh
72+
cd my-project
73+
php artisan serve
74+
```
5775

58-
```shell
59-
cd your-project-name
60-
```
76+
Voilaaa! You just success installing laravel without using composer or laravel sail. After this, you can continue the normal laravel setup installation such as **php artisan migrate**
6177

62-
2. Start the server (local):
78+
## Troubleshooting
6379

64-
```shell
65-
php artisan serve
66-
```
80+
**Q**: I got an error when using this package.
6781

68-
Voilaaa! You just install laravel without using composer or laravel sail. After this, you can continue the normal laravel setup installation such as 'php artisan migrate'
82+
**A**: Most error happen due to missing PHP dependencies required by Laravel itself. Simply make sure you install all of the PHP extension needed depends on your PHP version as shown <a href="https://stackoverflow.com/a/40816033/13228282">here</a>
6983

70-
## Trobubleshooting
84+
## Screenshot
7185

72-
**Q**: I got an error when running using this package.
86+
<img width="500" src="https://raw.githubusercontent.com/alifdarsim/laravel-no-composer/master/screenshot.png" />
7387

74-
**A**: Most error happen is when you try running this project without the required PHP extension needed by Laravel. Simply make sure you install all of the PHP extension required as shown <a href="https://stackoverflow.com/a/40816033/13228282">here</a>
7588

7689
## Support
7790

78-
<p>You can show your support by starring this project.</p>
91+
<p>You can show your support by starring this project or buy me some coffee</p>
7992
<a href="https://github.com/alifdarsim/laravel-no-composer/stargazers">
8093
<img src="https://img.shields.io/github/stars/alifdarsim/laravel-no-composer?style=social" alt="Github Star">
8194
</a>
8295

96+
<a href="https://www.buymeacoffee.com/alifdarsim" style="border-radius:50%" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Coffee" height="41" width="174"></a>
97+
98+
99+
83100
## Contribute
84101

85102
To contribute, see the [contributing guide](https://github.com/alifdarsim/laravel-no-composer/blob/master/CONTRIBUTING.md)

0 commit comments

Comments
 (0)