PHPackages                             fnematov/laravel-scheduler-attribute - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fnematov/laravel-scheduler-attribute

ActivePackage[Utility &amp; Helpers](/categories/utility)

fnematov/laravel-scheduler-attribute
====================================

Laravel schedule registerer by attributes

1.0.0(2y ago)031MITPHPPHP ^8.0

Since Feb 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fnematov/laravel-scheduler-attribute)[ Packagist](https://packagist.org/packages/fnematov/laravel-scheduler-attribute)[ RSS](/packages/fnematov-laravel-scheduler-attribute/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel Scheduler Attribute
===========================

[](#laravel-scheduler-attribute)

The Laravel Scheduler Attribute package revolutionizes the way you schedule tasks in your Laravel applications. Utilizing the power of PHP 8 attributes, this package allows developers to declaratively schedule tasks with minimal setup, directly within class methods, enhancing the maintainability and clarity of your codebase.

Features
--------

[](#features)

- **Declarative Scheduling**: Easily schedule tasks within your service classes using PHP 8 attributes.
- **Flexible Timing**: Supports both cron expressions and Laravel's built-in scheduling methods for comprehensive control over task timing.
- **Clean Architecture**: Keep your scheduling logic close to the related business logic for better cohesion.
- **Automatic Discovery**: Automatically discovers and registers scheduled tasks, simplifying the scheduling setup process.

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require fnematoc/laravel-scheduler-attribute
```

Usage
-----

[](#usage)

To schedule a task, simply add the `#[ArtisanScheduler]` attribute to the method you want to schedule. You can then specify the timing of the task using a cron expression or one of Laravel's built-in scheduling methods.

```
use Fnematov\LaravelSchedulerAttribute\ArtisanScheduler;

class ReportService
{
    #[ArtisanScheduler(name: 'report:daily', schedule: 'daily')]
    public function generateDailyReport()
    {
        // Your task logic here
    }
}
```

This example schedules the generateDailyReport method to run daily.

Contributing
------------

[](#contributing)

No additional configuration is required to use this package.

Contributing
------------

[](#contributing-1)

Contributions are welcome and will be fully credited. Please submit pull requests to the GitHub repository.

Support
-------

[](#support)

If you encounter any problems, please submit an issue on our [GitHub page](https://github.com/fnematov/laravel-scheduler-attribute).

License
-------

[](#license)

The Laravel Scheduler Attribute is open-sourced software licensed under the [MIT LICENCE](https://opensource.org/licenses/MIT).

```

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a390281a67bb86cdaa248d9d312d189642e42ff7141c0d139f2b5593d9ad2b59?d=identicon)[fnematov](/maintainers/fnematov)

---

Top Contributors

[![fnematov](https://avatars.githubusercontent.com/u/25400796?v=4)](https://github.com/fnematov "fnematov (6 commits)")

---

Tags

schedulerlaravelattribute

### Embed Badge

![Health badge](/badges/fnematov-laravel-scheduler-attribute/health.svg)

```
[![Health](https://phpackages.com/badges/fnematov-laravel-scheduler-attribute/health.svg)](https://phpackages.com/packages/fnematov-laravel-scheduler-attribute)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
