New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

blessing/rejection

Rejection is an object that indicates you are rejecting.
5,117
Install
composer require blessing/rejection
Latest Version:v1.4.0
Laravel:6 – 11
License:MIT
Last Updated:Jun 29, 2025
Links: GitHub  ·  Packagist
Maintainer: gplane

rejection

Rejection is an object that indicates you are rejecting.

We used this in Blessing Skin Server for plugins.

💿 Install

Run Composer:

composer require blessing/rejection

🔨 Usage

Create a rejection

use Blessing\Rejection;

$rejection = new Rejection('reason');

You can pass optional second argument to constructor:

$rejection = new Rejection('reason', ['name' => '']);

Retrieve reason

$rejection->getReason();

Retrieve data:

$rejection->getData();

If your data is an array, you pass a key:

$rejection = new Rejection('reason', ['name' => '']);
$rejection->getData('name');

📄 License

MIT License (c) The Blessing Skin Team

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

442,489,569 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

412,228,818 4,664

Version History

Version Released Laravel License
v1.4.0 ^6 || ^7 || ^8 || ^9 || ^10 || ^11 MIT
v1.3.0 ^6 || ^7 || ^8 || ^9 || ^10 MIT
v1.2.0 ^6 || ^7 || ^8 MIT
v1.1.0 6.* || 7.* MIT
v1.0.0 6.* MIT