1.0.6 โ€ข Published 7 months ago

laraship v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

LaraShip ๐Ÿšข

Set sail with Laravel! LaraShip is the ultimate Docker environment generator for Laravel projects. It helps you quickly set up a production-ready Docker environment with zero configuration.

Version Downloads License


โœจ Features

๐Ÿณ One-Command Setup

With a single command, youโ€™re ready to sail:

npx laraship

LaraShip will automatically:

  • Detect your PHP version and extensions
  • Configure your database
  • Set up Redis (if needed)
  • Handle SSL certificates
  • Configure backups
  • Set up GitHub Actions

๐Ÿ”น Zero Configuration Needed

  • Auto-detects project requirements
  • Applies sensible production defaults
  • Allows customization when needed

๐Ÿš€ Production-Ready

  • Optimized Dockerfile
  • Secure database configuration
  • Built-in health checks
  • SSL/TLS support
  • Backup solutions included
  • Monitoring integrations

๐Ÿ“ฆ Installation

Global Installation (Recommended)

# Install globally
npm install -g laraship

# Use in any Laravel project
cd your-laravel-project
laraship

Using npx (No Installation Required)

cd your-laravel-project
npx laraship

๐Ÿš€ Quick Start

  1. Navigate to your Laravel project:

    cd your-laravel-project
  2. Run LaraShip:

    laraship
  3. Answer a few questions:

    • Database preferences
    • Redis setup
    • Backup configuration
    • Deployment options
  4. Start your containers:

    docker-compose up -d

Thatโ€™s it! Your Laravel app is now Dockerized and production-ready.


๐ŸŽฎ Usage Examples

Development Setup

cd my-laravel-app
laraship
# Choose MySQL container
# Skip Redis
# Skip backups

Production Setup

cd my-laravel-app
laraship
# Enable MySQL
# Enable Redis
# Configure backups
# Set up GitHub Actions
# Enable SSL

Common Commands

# Start services
docker-compose up -d

# View logs
docker-compose logs -f

# Run migrations
docker-compose exec app php artisan migrate

# Stop services
docker-compose down

๐Ÿ› ๏ธ Whatโ€™s Included

Core Features

  • ๐Ÿณ Docker configuration
  • ๐Ÿ‘Ž Database setup (MySQL)
  • ๐Ÿ“ฆ Redis support
  • ๐Ÿ”„ Queue workers
  • โฐ Task scheduling
  • ๐Ÿš€ GitHub Actions integration
  • ๐Ÿ”’ SSL/TLS support
  • ๐Ÿ“€ Automated backups
  • ๐Ÿ“Š Health monitoring

Additional Services

  • PHPMyAdmin
  • Mailhog
  • Redis Commander
  • Backup solutions
  • Slack notifications

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


๐Ÿ–‹๏ธ License

This project is licensed under the MIT License. See the LICENSE file for details.


โค๏ธ Support

If you find LaraShip helpful, give it a โญ to show your support!


Made with โค๏ธ by torgodly

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.0

7 months ago