Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Run laravel project without install any software like php, composer

NotificationsYou must be signed in to change notification settings

Kamleshpaul/setup-laravel-with-frankenphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Step 1: Clone the Repository

Navigate to the root of your Laravel project and clone the repository:

git clone https://github.com/Kamleshpaul/setup-laravel-with-frankenphp.git

Step 2: Move the Cloned Repository

Move the cloned repository to root directory:

mv setup-laravel-with-frankenphp/{Caddyfile,download.sh} ./&& rm -rf setup-laravel-with-frankenphp

Step 3: Make Download Script Executable

Make the download script executable:

chmod +x download.sh

Step 4: Download Composer and FrankenPHP

Run the download script:

./download.sh

This script will downloadcomposer.phar for Composer and FrankenPHP forphp-cli,php, andCaddy server.

Step 5: Install Composer dependency

To install all the dependency, use the following command:

 ./frankenphp php-cli ./composer.phar install

Step 6: Run FrankenPHP Server

To run the FrankenPHP server, use the following command:

./frankenphp run

Step 7: Open Localhost

After running the server, open your web browser and navigate tohttps://localhost

Step 8: gitignore

Add this in.gitignore

frankenphpcomposer.phar

Useful command

./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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp