├── .gitignore ├── LICENSE ├── README.md ├── errors ├── 401.blade.php ├── 402.blade.php ├── 403.blade.php ├── 404.blade.php ├── 419.blade.php ├── 429.blade.php ├── 500.blade.php ├── 503.blade.php ├── layout.blade.php └── minimal.blade.php └── lang └── fa.json /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Ali Salehi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### اررور های پیشفرض لاراول به زبان فارسی 2 | 3 |  4 |  5 | 6 | پیشنهاد میشه از `lang/fa.json` متون فارسی رو بردارید ولی اگر مایل نیستید میتونید پوشه `errors` رو در مسیر `resources/views` قرار دهید. 7 | -------------------------------------------------------------------------------- /errors/401.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Unauthorized')) 4 | @section('code', '401') 5 | @section('message', '.متاسفانه شما دسترسی لازم برای مشاهده این محتوا را ندارید') 6 | 7 | -------------------------------------------------------------------------------- /errors/402.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Payment Required')) 4 | @section('code', '402') 5 | @section('message', '.متاسفانه برای دسترسی به این بخش، پرداخت لازم است') 6 | -------------------------------------------------------------------------------- /errors/403.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Forbidden')) 4 | @section('code', '403') 5 | @section('message', '.متاسفانه شما اجازه دسترسی به این بخش را ندارید') 6 | -------------------------------------------------------------------------------- /errors/404.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Not Found')) 4 | @section('code', '404') 5 | @section('message', '.متاسفانه صفحهای که به دنبال آن هستید یافت نشد') 6 | -------------------------------------------------------------------------------- /errors/419.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Page Expired')) 4 | @section('code', '419') 5 | @section('message', '.متاسفانه صفحه شما منقضی شده است') 6 | -------------------------------------------------------------------------------- /errors/429.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Too Many Requests')) 4 | @section('code', '429') 5 | @section('message', '.متاسفانه شما تعداد زیادی درخواست ارسال کردهاید') 6 | -------------------------------------------------------------------------------- /errors/500.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Server Error')) 4 | @section('code', '500') 5 | @section('message', '.متاسفانه مشکلی در سرور رخ داده است') 6 | -------------------------------------------------------------------------------- /errors/503.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors::minimal') 2 | 3 | @section('title', __('Service Unavailable')) 4 | @section('code', '503') 5 | @section('message', '.متاسفانه سرویس موقتاً در دسترس نیست') 6 | -------------------------------------------------------------------------------- /errors/layout.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |