Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alifdarsim/laravel-no-composer
A bash script to install Laravel without using composer or sail docker
https://github.com/alifdarsim/laravel-no-composer
bash bash-script cli composer composer-package laravel laravel-framework laravel10 laravel8x laravel9x
Last synced: 3 months ago
JSON representation
A bash script to install Laravel without using composer or sail docker
- Host: GitHub
- URL: https://github.com/alifdarsim/laravel-no-composer
- Owner: alifdarsim
- License: mit
- Created: 2023-01-18T22:37:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T23:43:55.000Z (almost 2 years ago)
- Last Synced: 2024-09-28T20:02:40.503Z (3 months ago)
- Topics: bash, bash-script, cli, composer, composer-package, laravel, laravel-framework, laravel10, laravel8x, laravel9x
- Language: PHP
- Homepage:
- Size: 42.1 MB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Laravel No Composer
📦 Installing Laravel without using composer or laravel sail 📦
## Problem Statement
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.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.
## What is this?
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.## Prerequisite
| Version | PHP(*) |
|---------|---------|
| Laravel 8 | 7.3-8.1 |
| Laravel 9 | 8.0-8.1 |
| Laravel 10 | 8.1 |## Installation
To start installing Laravel, run below *curl* or *wget* command
- If you prefer to use CURL
```sh
bash <(curl -s https://raw.githubusercontent.com/alifdarsim/laravel-no-composer/master/curl.sh)
```- Or you want wget instead
```sh
bash <(wget -O - https://raw.githubusercontent.com/alifdarsim/laravel-no-composer/master/wget.sh)
```You will be promped to name your Laravel project and choose Laravel version to install
```sh
Enter your Laravel project name (eg: my-project)
> my-project
Choose Laravel version to install:
Laravel 8.x
> Laravel 9.x
Laravel 10.x
```After the installation finish, run below command to run your laravel project
```sh
cd my-project
php artisan serve
```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**
## Troubleshooting
**Q**: I got an error when using this package.
**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 here
## Screenshot
## Support
You can show your support by starring this project or buy me some coffee
## Contribute
To contribute, see the [contributing guide](https://github.com/alifdarsim/laravel-no-composer/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/alifdarsim/laravel-no-composer/blob/main/LICENSE)