Skip to content

Instantly share code, notes, and snippets.

View Kkmikaze's full-sized avatar
💤
Sleeping

Thugi Nirbi Alam Kkmikaze

💤
Sleeping
View GitHub Profile
@Kkmikaze
Kkmikaze / .php_cs
Created July 26, 2022 04:37
Configuration PHP CS Fixer Laravel
<?php
return PhpCsFixer\Config::create()
->setRules(array(
'@PSR2' => true,
'array_indentation' => true,
'array_syntax' => array('syntax' => 'short'),
'combine_consecutive_unsets' => true,
'method_separation' => true,
'no_multiline_whitespace_before_semicolons' => true,
'single_quote' => true,
@Kkmikaze
Kkmikaze / Dockerfile
Created July 25, 2024 05:53
Dockerize Laravel
# Use the official PHP image as the base image
FROM php:8.2-fpm
# Set working directory
WORKDIR /var/www
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
# Install system dependencies