Download the PHP package yarunoka/laravel without Composer

On this page you can find all versions of the php package yarunoka/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel

yarunoka/laravel

CI Latest Version PHP Version Downloads

Laravel integration for the Yarunoka schedule definition DSL.

What is this?

Yarunoka is a small JSON DSL — Yrnk — that states calendar rules like "payday is the 25th, moved up to the previous business day" as data, plus a pure engine that answers questions about them. The DSL and the engine live in yarunoka/core; the language-independent specification lives in the spec repository.

This package binds that engine into Laravel:

Installation

Requires PHP 8.4 or newer and Laravel 13. The service provider is registered by package auto-discovery. To publish the config:

Quick example

Name the wall-clock timezone and the calendar once, in the config:

The bindings are scoped — resolved once per request or queue job — and the config is read at first use within a scope. Where one scope lives long (tinker, a test), a config change made after that first use waits for the next scope; app()->forgetScopedInstances() renews within the current one, though it resets every scoped service, not only Yarunoka's.

Cast a JSON column to one schedule by naming the wrapper in casts() (Schedules::class casts a column of many the same way):

A column can also hold a whole Yrnk document — its own timezone and calendar per row. Yrnk is the core's class, so there is no wrapper to name: a whole-document column names the cast class itself, in the model's casts():

Validate a request and store the schedule as it was spelled — an invalid schedule never reaches the database:

Ask the firing question from a poller — was there a scheduled point since the last run?

Documentation

License

MIT


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/container Version ^13.0
illuminate/contracts Version ^13.0
illuminate/database Version ^13.0
illuminate/support Version ^13.0
yarunoka/core Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yarunoka/laravel contains the following files

Loading the files please wait ...