承接 noflash/grumpy-error-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

noflash/grumpy-error-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require noflash/grumpy-error-bundle

包简介

Make your error pages just a bit more grumpy

README 文档

README

What this bundle does?

Your day can always be a bit better more grumpy. This bundle simply adds a well-known and beloved cat to your error pages. It will greet scoff you in different ways and will not let you pet it - whether you're dreading on a leagy PHP 5.6 project or playing with a shiny new PHP 8 toy.

Why and how?!

The idea originated around a decade ago, back in the Symfony 2 days. While we all love the little happy ghost, after long hours of debugging of the mercator projection calculation code the happiness in our team dwindled. So, instead of being productive I decided to add a funny image to our error messages... and people wonder why developers are strange. I hope my old dev team doesn't hate me to this day :D

On the serious note, being nostalgic and going through old photos, I decided to recreate the old hack as a bundle which supports a wide range of PHP and Symfony versions, for all of us stuck maintaining ancient projects.

Requirements

  • PHP: 5.5+/7.0+/8.0+
  • Symfony: v3.3 - 6.2+
  • You can adapt it easily to <3.3, but the design of the page changed. If you're a poor soul working with such an old version, please create an issue - I will add a version for older Symfony releases.

Installation

  1. Add package via composer: composer require noflash/grumpy-error-bundle
  2. If you're you're using Symfony Flex (default since v4.0) you're ready to go. Otherwise, you may need to add the bundle to your configuration:
    • If you have config/bundles.php, add NoFlash\GrumpyError\GrumpyErrorBundle::class => ['all' => true] there
    • For old directory structure (generally pre-4.0) add new NoFlash\GrumpyError\GrumpyErrorBundle() to app/AppKernel.php in $bundles

Tested Symfony Versions

Things has changed over the years, but legacy never dies. Thus, this bundle was tested with:

Note: For Symfony 4.1, if you're getting an error The service "web_profiler.controller.profiler" has a dependency on a non-existent service "twig". you need to install symfony/twig-bundle due to a Symfony bug.

统计信息

  • 总下载量: 2.7k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-01-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固