百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rollbar-php

> 后端框架
开源

从 PHP 到 Rollbar 的错误跟踪和日志记录

337 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

从 PHP 到 Rollbar 的错误跟踪和日志记录

Rollbar PHP SDK

Proactively discover, predict, and resolve errors in real-time with Rollbar’s error monitoring platform. Start tracking errors today!

Key benefits of using Rollbar PHP SDK are:

  • Frameworks: Rollbar php supports many popular php frameworks such as Laravel, CodeIgniter, Symfony and many more!
  • Plugins: Rollbar php has plugin support for Heroku, Wordpress, Rollbar.js and more.
  • Automatic error grouping: Rollbar aggregates Occurrences caused by the same error into Items that represent application issues. Learn more about reducing log noise.
  • Advanced search: Filter items by many different properties. Learn more about search.
  • Customizable notifications: Rollbar supports several messaging and incident management tools where your team can get notified about errors and important events by real-time alerts. Learn more about Rollbar notifications.

Quickstart

If you've never used Rollbar before, sign up for a Rollbar account and follow the simple, three-step tour. In no time, you'll be capturing errors and exceptions thrown in your code.

If you already have a Rollbar account, log in to your Rollbar account. From the Settings > Project Access Token menu, click Create New Access Token. Copy the post_client_item value and paste it into the code below.

php
require 'vendor/autoload.php'; // composer require rollbar/rollbar

\Rollbar\Rollbar::init([
    'access_token' => '***', 
    'environment'  => 'development',
]);

For detailed usage instructions and configuration reference, refer to our PHP SDK docs.

Getting Help

  • If you have a question, ask in our Discussion Q&A
  • To report a bug, raise an issue
  • For account service, reach out to [email protected]

Releases, Versions, and PHP Compatibility

Major releases of this library support major versions of PHP, as follows:

  • For PHP 8, choose the 4.x or 3.x branch.
  • For PHP 7, choose a 2.x release.
  • For PHP 5, choose a 1.x release.

To obtain a release, download an archive from the Releases page or use composer:

bash
# for PHP 8 compatibility
$ composer require rollbar/rollbar:^4
# or
$ composer require rollbar/rollbar:^3

# for PHP 7 compatibility
$ composer require rollbar/rollbar:^2

# for PHP 5 compatibility
$ composer require rollbar/rollbar:^1

Refer to CHANGELOG.md for a complete history.

License

Rollbar-PHP is free software released under the MIT License. See LICENSE for details.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPcodeignitercrash-reportcrash-reportingerror-handler

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架