Skip to content

Instantly share code, notes, and snippets.

View anuzpandey's full-sized avatar
:octocat:
Working from home

Anuz Pandey anuzpandey

:octocat:
Working from home
View GitHub Profile
@anuzpandey
anuzpandey / pint.json
Created June 26, 2024 20:01
Laravel Pint Configuration
{
"preset": "laravel",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
@anuzpandey
anuzpandey / pint.json
Created January 4, 2024 17:02
Laravel Pint Configuration
{
"preset": "psr12",
"rules": {
"is_null": true,
"declare_strict_types": true,
"strict_comparison": true,
"no_unused_imports": true,
"explicit_string_variable": true,
"native_function_casing": true,
"native_function_type_declaration_casing": true,
@anuzpandey
anuzpandey / CustomTraitCommandWithStub.md
Created April 21, 2023 18:11
Custom Command to create Traits with stubs

Stub File

// trait.stub
<?php

namespace App\Traits;

trait {{ traitName }} {

}