- Parantez Renkli Block https://github.com/CoenraadS/Bracket-Pair-Colorizer-2
- Php Storm Tema https://github.com/kevinvn1709/vscode-dracula-color-theme
- => Simgesi https://github.com/vinliao/fast-arrow
- One Dark Pro Tema https://github.com/Binaryify/OneDark-Pro
- Prety Format code düzeni https://github.com/prettier/prettier-vscode
- Admin https://preview.themeforest.net/item/admitro-laravel-admin-template/full_screen_preview/28747797?_ga=2.184913001.154611841.1630570012-1646433020.1623150420&_gac=1.48610772.1630570012.Cj0KCQjw7MGJBhD-ARIsAMZ0eeve4CgzAenTjjbEUfhMIfkwgWE990HvTTsVlSLVoxjD6044MGc6mIcaAuNREALw_wcB
- Cart Themplate https://github.com/muhammed/vue-interactive-paycard
- drive Template https://up4vn.com/templates/page/3/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Requests; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| use Illuminate\Support\Str; | |
| class informationRequest extends FormRequest | |
| { | |
| public function authorize() |
views dizi altında comdizini oluşturdum. Bu dizin benim component'lerimi barındaracak.
bootstrap 4/5 modal tasarımıdır.
<div class="modal fade text-start modal-{{ $config["class"] ?? 'primary' }}" id="{{ $config["id"]}}" tabindex="-1"
aria-labelledby="{{ $config["id"]}}Label" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered {{ $type ?? '' }}">
<div class="modal-content">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!function_exists('round_up')) { | |
| /** | |
| * @param float $value | |
| * @param integer $places | |
| * @return float | |
| */ | |
| function round_up($value, $places=0) | |
| { | |
| if ($places < 0) { $places = 0; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public static function boot() | |
| { | |
| parent::boot(); | |
| self::creating(function ($model) { | |
| // ... code here | |
| }); | |
| self::created(function ($model) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| class SanctumAbilityCheck | |
| { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO `cities` (`id`, `country_id`, `name`, `plate_no`, `phone_code`) VALUES | |
| (1, 212, 'ADANA', '1', '322'), | |
| (2, 212, 'ADIYAMAN', '2', '416'), | |
| (3, 212, 'AFYONKARAHİSAR', '3', '272'), | |
| (4, 212, 'AĞRI', '4', '472'), | |
| (5, 212, 'AKSARAY', '68', '382'), | |
| (6, 212, 'AMASYA', '5', '358'), | |
| (7, 212, 'ANKARA', '6', '312'), | |
| (8, 212, 'ANTALYA', '7', '242'), | |
| (9, 212, 'ARDAHAN', '75', '478'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install epel-release | |
| yum install libmcrypt libmcrypt-devel | |
| for version in $(ls /opt/cpanel|grep ea-php); do /opt/cpanel/${version}/root/usr/bin/pecl channel-update pecl.php.net; done | |
| export LC_ALL="C" | |
| export LANG="C" | |
| /opt/cpanel/ea-php72/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.1 | |
| /opt/cpanel/ea-php73/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.2 | |
| /opt/cpanel/ea-php74/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!function_exists('staticMailTemplateReplace')) { | |
| function staticMailTemplateReplace($scope, object $data = NULL) | |
| { | |
| $templates = Cache::get('templates', function () { | |
| return (new Template())->on('mysql_license')->get(); | |
| }); | |
| $template_options = Cache::get('template_options', function () { |