lemax10/asail

Based on Laravel Sail. Advanced sail.

dev-master / 1.x-dev 2021-05-27 10:37 UTC

This package is auto-updated.

Last update: 2024-11-27 17:57:43 UTC


README

Logo Laravel Sail

Total Downloads Latest Stable Version License

Introduction

Extended Sail provides local Docker-based development for Laravel, compatible with macOS, Windows (WSL2), and Linux. Except for Docker, you don't need to install any programs or libraries on your local machine before using Sail. Sail's simple command line interface means you can start building your Laravel application without any previous Docker experience.

Based on Laravel Sail

Inspiration

It was decided to do Extended Sail in view of the lack of support from the authors of outdated versions of laravel, as well as php 7.2, php 7.3.

Official Documentation

Documentation for Sail can be found on the Laravel website.

Contributing

Thank you for considering contributing to Sail! You can read the contribution guide here.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel Advanced Sail is open-sourced software licensed under the MIT license.

[DEV] Running in octobercms

  1. Add repository to composer.json
{
    ...
    "repositories": [
        {
            "type":"vcs",
            "url": "https://github.com/LeMaX10/asail.git"
        }
    ],    
    ...
}
  1. Add require-dev package in composer.json
{
  ...
  "require-dev": {
     ....
     "lemax10/asail": "1.x-dev"
  }
  ...
}
  1. Enable discovered package or add service provider to config/app.php Enable discovered package config/app.php:
'loadDiscoveredPackages' => true,
  1. Change october settings to settings in enviroiment:
php artisan october:env
  1. Create docker-compose configuration
php artisan sail:install --with=mysql,redis --project=example.loc --php=7.4
  1. Run project:
vendor/bin/sail up -d
  1. Installed project:
vendor/bin/sail artisan october:up