sukohi/save-without-event
Larablocks Analysis
sukohi/save-without-event works with Laravel 5 (latest release 1.0.0, Aug 1, 2017), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Aug 1, 2017)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 1, 2017.
- No releases in the last 12 months.
- First released: Aug 1, 2017.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require sukohi/save-without-event |
|
| Latest Version: | 1.0.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 1, 2017 |
| Links: | GitHub · Packagist |
SaveWithoutEvent
A Laravel package to prevent firing a specific event(s) of model when saving.
Installation
Execute composer command.
composer require sukohi/save-without-event:1.*
Preparation
In your model, set SaveWithoutEventTrait.
<?php
namespace App;
use Sukohi\SaveWithoutEvent\SaveWithoutEventTrait;
class User {
use SaveWithoutEventTrait;
That's all.
Now you can use saveWithoutEvent method.
Usage
Use saveWithoutEvent() instead of save() like so.
$user = new \App\User;
// Something..
$user->saveWithoutEvent('saved');
// or with array
$user->saveWithoutEvent(['saving', 'saved']);
saveWithoutEvent()will return boolean result value assave()do.
License
This package is licensed under the MIT License.
Copyright 2017 Sukohi Kuhoh
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.0.0 | ~5.0 | MIT |