Download the PHP package quvel/core without Composer

On this page you can find all versions of the php package quvel/core. 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 core

Quvel Core

A Laravel package providing essential utilities for full-stack applications including device management, push notifications, platform detection, locale handling, distributed tracing, and more.

Installation

Step 1: Add the Package

Install via composer:

Step 2: Publish Configuration

Publish the configuration file to config/quvel.php:

This creates config/quvel.php with all available options.

Step 3: Publish and Run Migrations

Publish the migrations:

This publishes:

Note: Migration filenames include timestamps (YYYY_MM_DD_HHMMSS format) to ensure they run in the correct order. The timestamps are part of Laravel's convention for managing database schema versions.

Run the migrations:

Step 4: Configure Environment Variables

Add the following to your .env file (optional, depending on features you use):

Step 5: Verify Installation

Check that the package is discovered:

You should see quvel/core in the list.

Check available commands:

Optional: Publish Additional Assets

Important: Routes are disabled by default. To enable device management routes, add to your .env:

You do not need to publish the routes file unless you want to customize the route definitions. The routes will work from the package once enabled via environment variables.

Troubleshooting

Package not discovered:

Migrations already exist:

Config changes not taking effect:

Table of Contents


Captcha

Protect your endpoints from bots and automated attacks using Google reCAPTCHA.

Configuration

Usage

Verify captcha:

Protect routes with middleware:

Custom Captcha Driver

Set in config:

Events


Device Management

Track user devices across web, mobile, and desktop platforms. Register devices, manage push tokens, and maintain device lifecycle.

Configuration

Usage

Register a device:

Manage devices:

Device Model

API Routes

Publish and enable device routes:

Available endpoints:

Middleware

Automatically detect and track devices:

Events


Push Notifications

Send push notifications to user devices across multiple platforms (FCM, APNS, Web Push). Supports device targeting and batch processing.

Configuration

Usage

Send to device:

Send to multiple devices:

Device Targeting

Get target devices:

Targeting scopes:

Custom Push Driver

Register in service provider:

Events


Platform Detection

Detect the platform (web, mobile, desktop) from which requests originate.

Configuration

Usage

Platform tags:

Available platform tags:

Frontend Integration


Locale Management

Automatic locale detection and management from request headers.

Configuration

Usage

Locale is detected from:

  1. Accept-Language header
  2. Falls back to configured default

Distributed Tracing

Track requests across your distributed system with automatic trace ID generation and propagation.

Configuration

Usage

Frontend Integration


Public IDs

Generate user-facing IDs (ULIDs or UUIDs) for models instead of exposing database IDs.

Configuration

Usage

Add trait to your model:

Auto-generates public ID on creation:

Route Model Binding


Redirects

Smart redirects that work across web, mobile, and desktop platforms using universal links, custom schemes, or landing pages.

Configuration

Usage

Redirect Modes

Universal Links (recommended): Uses HTTPS URLs that open the app if installed, otherwise open in browser.

Custom Scheme: Uses custom URL scheme (myapp://).

Landing Page: Shows countdown page before redirect.

Web Only: Always redirects to web URL.


Security

Internal Request Validation

Protect internal endpoints from external access:

Protect routes:

Frontend SSR integration:


Middleware

Available Middleware

Global Configuration


Extending the Package

Custom Implementations

All core services use contracts and can be extended or replaced:

Available Contracts


Events

Device Events

Push Notification Events

Captcha Events

Trace Events


Publishing Assets


License

MIT


All versions of core with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^12.0
illuminate/support Version ^12.0
illuminate/log Version ^12.0
illuminate/http Version ^12.0
illuminate/database Version ^12.0
illuminate/broadcasting Version ^12.0
illuminate/queue Version ^12.0
illuminate/events Version ^12.0
monolog/monolog Version ^3.9
psr/log Version ^3.0
ext-curl Version *
ext-openssl Version *
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 quvel/core contains the following files

Loading the files please wait ...