Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

261
Vistas
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 Respuestas
Responde la pregunta

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 laravel/sail line is removed from composer.json

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda