@fiandev/laraset
v1.0.0
Published
Automated Laravel project setup with Docker and SQLite
Downloads
3
Maintainers
Readme
Laraset
Automated Laravel project setup with Docker and SQLite database configuration.
Installation
npm install -g @fiandev/larasetUsage
laraset --url <git-repository-url>Example
laraset --url https://github.com/laravel/laravel.gitFeatures
- 🐳 Automatically detects PHP version from
composer.json - 📦 Downloads and installs Composer dependencies
- 🔧 Configures SQLite database by default
- 🔑 Generates Laravel application key
- 🗄️ Runs database migrations
- 🧹 Cleans up temporary files
Requirements
- Node.js >= 18.0.0
- Docker installed and running
- Git
What it does
- Clones the Laravel repository
- Detects PHP version from
composer.json - Downloads Composer.phar to the project
- Installs dependencies with
composer install - Copies
.env.exampleto.envif needed - Configures SQLite database settings
- Generates application key
- Runs database migrations
- Cleans up temporary files
Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run dev
# Test the CLI
npm start -- --url https://github.com/laravel/laravel.gitLicense
MIT
