-
Notifications
You must be signed in to change notification settings - Fork 2
Extra information
Azizul Hakim edited this page Jan 4, 2026
·
6 revisions
Additional development tools and commands.
php artisan make:crud ProductCreates:
- Model & Factory
- Migration
- Controller
- Service & Repository
- DTOs
- Routes
- Tests
php artisan make:dto ProductDTOCreates:
- Data Transfer Object
- Readonly properties
- Validation rules
php artisan make:service Product/ProductServiceCreates:
- Service class
- Interface
- Repository binding
# Fix code style
php artisan pint
# Clear all caches
php artisan optimize:clear
# Generate IDE helpers
php artisan ide-helper:generate
php artisan ide-helper:models
php artisan ide-helper:meta# Fresh migration with seeds
php artisan migrate:fresh --seed
# Rollback specific migration
php artisan migrate:rollback --step=1
# Generate seeder
php artisan make:seeder ProductSeeder# Clear all caches
php artisan optimize:clear
# Clear specific cache
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan view:clear{
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"spatie/laravel-permission": "^5.10",
"laravel/telescope": "^4.14",
"laravel/pulse": "^1.0",
"spatie/laravel-health": "^1.22",
"spatie/laravel-backup": "^8.1",
"maatwebsite/excel": "^3.1",
"spatie/laravel-media-library": "^10.0"
}{
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"barryvdh/laravel-ide-helper": "^2.13",
"knuckleswtf/scribe": "^4.23"
}# Install hooks
npx husky install
# Add pre-commit hook
npx husky add .husky/pre-commit "php artisan pint"- Code style fixing
- Test execution
- Static analysis
APP_DEBUG=true
APP_ENV=local# Install telescope
php artisan telescope:install
# Clear telescope data
php artisan telescope:pruneLog::emergency($message);
Log::alert($message);
Log::critical($message);
Log::error($message);
Log::warning($message);
Log::notice($message);
Log::info($message);
Log::debug($message);For detailed documentation, see the Features Guide.
Copyright 2026, @AHS12 All Right Reserved
- Home - Documentation Overview
- Quick Start - Installation and setup
- Project Structure - Directory organization
- Features Overview - Summary of capabilities
- Backup System - Database backups
- Extra Information - Additional tools
- Observability - Dashboard & Telemetry
- Health Checks - System status
- Running Tests - Testing guide
- API Documentation - API specs & UI
- Docker Guide - Container setup