lemax10 / asail
Based on Laravel Sail. Advanced sail.
Requires
- php: >=7.2
- illuminate/console: ^6.0|^7.0|^8.0|^9.0
- illuminate/contracts: ^6.0|^7.0|^8.0|^9.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0
This package is auto-updated.
Last update: 2024-11-27 17:57:43 UTC
README
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
- Add repository to composer.json
{ ... "repositories": [ { "type":"vcs", "url": "https://github.com/LeMaX10/asail.git" } ], ... }
- Add require-dev package in composer.json
{ ... "require-dev": { .... "lemax10/asail": "1.x-dev" } ... }
- Enable discovered package or add service provider to config/app.php Enable discovered package config/app.php:
'loadDiscoveredPackages' => true,
- Change october settings to settings in enviroiment:
php artisan october:env
- Create docker-compose configuration
php artisan sail:install --with=mysql,redis --project=example.loc --php=7.4
- Run project:
vendor/bin/sail up -d
- Installed project:
vendor/bin/sail artisan october:up