- Notifications
You must be signed in to change notification settings - Fork5
Kamleshpaul/setup-laravel-with-frankenphp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Navigate to the root of your Laravel project and clone the repository:
git clone https://github.com/Kamleshpaul/setup-laravel-with-frankenphp.git
Move the cloned repository to root directory:
mv setup-laravel-with-frankenphp/{Caddyfile,download.sh} ./&& rm -rf setup-laravel-with-frankenphpMake the download script executable:
chmod +x download.sh
Run the download script:
./download.sh
This script will downloadcomposer.phar for Composer and FrankenPHP forphp-cli,php, andCaddy server.
To install all the dependency, use the following command:
./frankenphp php-cli ./composer.phar install
To run the FrankenPHP server, use the following command:
./frankenphp run
After running the server, open your web browser and navigate tohttps://localhost
Add this in.gitignore
frankenphpcomposer.phar
./frankenphp php-cli ./composer.phar (install| update| dump-autoload| require| remove)
./frankenphp php-cli artisan about
NOTE: It installs PHP 8.3. If you need another version of PHP, you can compile and use FrankenPHP and change the Composer version.
About
Run laravel project without install any software like php, composer
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.