This is adapted from Angular's commit convention.
Messages must be matched by the following regex:
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
## PHP | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install php8.2-cli php8.2-dev php8.2-pgsql php8.2-sqlite3 php8.2-gd php8.2-imagick \ | |
php8.2-curl php8.2-imap php8.2-mysql php8.2-mbstring php8.2-xml php8.2-zip \ | |
php8.2-bcmath php8.2-soap php8.2-intl php8.2-readline php8.2-ldap php8.2-msgpack \ | |
php8.2-igbinary php8.2-redis php8.2-memcache php8.2-pcov php8.2-xdebug |
This is adapted from Angular's commit convention.
Messages must be matched by the following regex:
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
#!/usr/bin/env bash | |
# default branch name of git repository | |
$BRANCH="main" | |
set -e | |
# ensure current directory is root of repository. | |
if [ ! -f artisan ] | |
then |
[ | |
/** | |
* Panels | |
**/ | |
{ | |
"key": "cmd+k cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+k cmd+g", |
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->notPath('storage/*') | |
->name('*.php') | |
->notName('*.blade.php') | |
->ignoreDotFiles(true) | |
->ignoreVCS(true) | |
; |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Illuminate\Foundation\Auth\Access\AuthorizesRequests; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
use Illuminate\Foundation\Validation\ValidatesRequests; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Routing\Controller as BaseController; |
<scheme name="Nord" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2021-08-20T10:56:55</property> | |
<property name="ide">PhpStorm</property> | |
<property name="ideVersion">2021.2.0.0</property> | |
<property name="modified">2021-08-20T10:56:59</property> | |
<property name="originalScheme">_@user_Nord</property> | |
</metaInfo> | |
<colors> | |
<option name="ANNOTATIONS_COLOR" value="d8dee9" /> |
{ | |
/** | |
* Better Defaults | |
**/ | |
"editor.copyWithSyntaxHighlighting": false, | |
"editor.cursorSmoothCaretAnimation": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.emptySelectionClipboard": false, | |
"workbench.editor.enablePreview": false, | |
"window.newWindowDimensions": "inherit", |
function phpv() { | |
valet stop | |
brew unlink php@7.4 php | |
brew link --force --overwrite $1 | |
brew services start $1 | |
composer global update | |
rm -f ~/.config/valet/valet.sock | |
valet install | |
} |
[xdebug] | |
zend_extension= | |
xdebug.mode=debug | |
xdebug.start_with_request=yes | |
xdebug.client_port=9003 | |
xdebug.client_host=127.0.0.1 | |
xdebug.discover_client_host=true | |
xdebug.idekey=PHPSTORM |