Skip to content

Instantly share code, notes, and snippets.

View Sherlockboy's full-sized avatar
:octocat:
Focused

Khurshidbek Kobilov Sherlockboy

:octocat:
Focused
View GitHub Profile
@Sherlockboy
Sherlockboy / vscode-setup-for-php
Last active August 30, 2024 12:43
PHPStorm like VSCode setup for PHP/Laravel development with smart intellisense, code formatting and service discovery. Import this JSON file into your VSCode
{"name":"php","settings":"{\"settings\":\"{\\n \\\"workbench.colorTheme\\\": \\\"GitHub Dark Default\\\",\\n \\\"workbench.iconTheme\\\": \\\"vscode-jetbrains-icon-theme-2023-dark\\\",\\n \\\"files.autoSave\\\": \\\"afterDelay\\\",\\n \\\"workbench.activityBar.location\\\": \\\"bottom\\\",\\n \\\"workbench.statusBar.visible\\\": false,\\n \\\"editor.minimap.enabled\\\": false,\\n \\\"window.commandCenter\\\": false,\\n \\\"workbench.layoutControl.enabled\\\": false,\\n \\\"editor.fontFamily\\\": \\\"JetBrains Mono\\\",\\n \\\"editor.fontLigatures\\\": true,\\n \\\"[php]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"open-southeners.laravel-pint\\\"\\n },\\n \\\"editor.codeLensFontFamily\\\": \\\"JetBrains Mono\\\",\\n \\\"terminal.integrated.fontFamily\\\": \\\"JetBrains Mono\\\",\\n \\\"laravel-pint.enable\\\": true,\\n \\\"editor.formatOnSave\\\": true\\n}\"}","extensions":"[{\"identifier\":{\"id\":\"adrianwilczynski.alpine-js-intellisense\",\"uuid\":\"
@Sherlockboy
Sherlockboy / Makefile
Created November 22, 2023 10:08
Makefile template for Laravel and Sail
.PHONY: help
SAIL := ./vendor/bin/sail
help: ## Display all available commands.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-10s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
install: ## Setup project and install dependencies.
@cp .env.example .env
@cp .env.example .env.testing