Descripcion del proyecto
Ej: API Backend. Swagger
- {url}/api/documentation
- cp .env.example .env
- Configurate .env values: mysql, redis, etc...
- composer install
- php artisan key:generate
- php artisan migrate:refresh --seed
- php artisan l5:generate
- php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
- php artisan serve
- cp .env.example .env
- Configurate .env values: mysql, redis, etc...
- composer install
- php artisan key:generate
- php artisan migrate:refresh --seed
- php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
- alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
- sail up
- php artisan test
- PHP ^8.0.2
- DarkaOnline: l5-swagger
- Laravel: FrameWork ^9.2
- APP_NAME={APP_NAME}
- APP_ENV={local}|{dev}|{production}
- APP_KEY={base64Key}
- APP_DEBUG={true}|{false}
- APP_URL={API_URL}
- APP_PORT={API_PORT}
- DB_CONNECTION=mysql
- DB_HOST={DB_HOST}
- DB_PORT={DB_PORT}
- DB_DATABASE={DB_NAME}
- DB_USERNAME={DB_USERNAME}
- DB_PASSWORD={DB_PASSWORD}
- MAIL_MAILER=smtp
- MAIL_HOST={SMTP_HOST}
- MAIL_PORT={SMTP_PORT}
- MAIL_USERNAME={SMTP_USER_NAME}
- MAIL_PASSWORD={SMTP_PASSWORD}
- MAIL_ENCRYPTION="TLS"
- MAIL_FROM_ADDRESS={FROM_EMAIL}
- MAIL_FROM_NAME="${APP_NAME}"
-REDIS_HOST={REDIS_HOST} -REDIS_PASSWORD=null -REDIS_PORT=6379
API Laravel | Redis | Mysql | Docker