CodingTricks LogoCodingTricks
HomePostsTipsCopy/PasteLinksContact UsAbout Us
2024 - 2025 CodingTricks.co | All rights reserved
Privacy PolicyTerms of Service
Laravel Made Easy: One Command for PHP, Node.js, and Composer

Laravel Made Easy: One Command for PHP, Node.js, and Composer

Posted by

kamlesh paul

on

Dec 17, 2024

| 1 min read

Last updated on : Dec 17, 2024

News
225 views

In the past, running Laravel required manually installing PHP, Composer, and Node.js, which could be challenging for newcomers. To address this issue, Laravel now offers a new command that installs all three components in a single step.

#Table of contents

  • Installation Commands:
  • Verification

#Installation Commands:

  • For Mac:
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
  • For Windows:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows'))
  • For Linux:
/bin/bash -c "$(curl -fsSL https://php.new/install/linux)"

#Verification

  • After installation, restart your terminal and check the versions of the installed components:
php -v
node -v
composer -v

For further details on installing PHP, you can refer to the official Laravel documentation here.

This simplified setup streamlines the process for new users, making it easier to start developing with Laravel..

Related Posts

  • Blocking Disposable Emails with the laravel-disposable-email PackageBlocking Disposable Emails with the laravel-disposable-email Package
  • TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here!  TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here!
  • Tinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHPTinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHP
  • Next-js 15 is Stable and Production-Ready: Key HighlightsNext-js 15 is Stable and Production-Ready: Key Highlights
  • API Platform Now Available for Laravel: A Game-Changer for API DevelopmentAPI Platform Now Available for Laravel: A Game-Changer for API Development

Tags

Api(1)Authentication(5)Backup (1)Copy Paste(12)Email(2)Express(1)Firebase(1)Github Action(2)News(8)Push Notification(1)Queue(2)Server(11)Server Action(3)Testing(1)Tips(17)Websocket(1)

Popular Posts

  • TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here!  TweakPHP 0.1.0 Beta: A Free and Open-Source Alternative to Tinkerwell Is Here!
  • How to use WebSocket in NextJS App router with Socket.IOHow to use WebSocket in NextJS App router with Socket.IO
  • How to Set Up Queue Jobs in NextJS Using BullMQHow to Set Up Queue Jobs in NextJS Using BullMQ
  • Boost Laravel Performance: Running Octane with FrankenPHP in Production ( Zero downtime)Boost Laravel Performance: Running Octane with FrankenPHP in Production ( Zero downtime)
  • How to Set Up NextJS cron jobs without VercelHow to Set Up NextJS cron jobs without Vercel
  • Mastering Laravel Streamed Responses: Boost Performance with Fast Data DeliveryMastering Laravel Streamed Responses: Boost Performance with Fast Data Delivery
  • Tinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHPTinkerwell Alternative: Free and Open-Source PHP Debugging with TweakPHP
  • Nextjs 14 roles and permissions (RBAC) : Step-by-Step GuideNextjs 14 roles and permissions (RBAC) : Step-by-Step Guide

Get updates directly to your inbox.

Join 500+ developers getting updates on Laravel & Next.js tips. No spam,
unsubscribe anytime.


Share this article:

225 views