Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

334
Views
Can i remove sail from laravel?

Recently i was assigned a task to upgrade old laravel project, there is one controller and not more than 20 files in need to migrate with 200 lines of code on them(on average).

Just for this i setup laravel latest 8.1 , but it comes with a lot of garbage, including sails. i just needed laravel-5.4 like (supporting php-8) with mysql (no sails, mail and other things).

Can i remove sails from it, i couldn't find good documentation on the first page of google to use a minimal laravel so i came here.

I didn't mean to offend anyone but laravel is getting fraustrating with lots of bad bad abstraction i think.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can remove any package using Composer

 composer remove vendor/package

Example of removing sail

 ❯ composer remove laravel/sail laravel/sail could not be found in require but it is present in require-dev Do you want to remove it from require-dev [yes]? yes ./composer.json has been updated Running composer update laravel/sail Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 0 updates, 1 removal - Removing laravel/sail (v1.13.2) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 0 updates, 1 removal - Removing laravel/sail (v1.13.2) Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: barryvdh/laravel-debugbar ... Discovered Package: spatie/laravel-ignition Package manifest generated successfully. > @php artisan vendor:publish --tag=laravel-assets --ansi No publishable resources for tag [laravel-assets]. Publishing complete

After that the vendor folder is modified, the auloader is updated and the laravel/sail line is removed from composer.json

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!