Download the PHP package arcana/laravel-pulse-s3-metrics without Composer

On this page you can find all versions of the php package arcana/laravel-pulse-s3-metrics. 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-pulse-s3-metrics

S3 Metrics Card for Laravel Pulse

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Fetch existing data usage and storage metrics from AWS CloudWatch for your S3 buckets and display them in a card on your Laravel Pulse dashboard.

Hire us

Developers at Arcana Softworks have been building business-class PHP applications for more than 10 years. Learn more about what we can do for you or your business.

Installation

You can install the package via composer:

You can optionally publish the config file with:

This is the contents of the published config file:

By default, this package will fetch metrics for the S3 bucket specified in your AWS_BUCKET environment variable. You can override this by setting the bucket config value.

One variable you may be missing is the AWS_STORAGE_CLASS variable, which has been introduced by this package. This should be set to the storage class of your S3 bucket. The default value is StandardStorage, which is the default storage class for S3 buckets. If you have a different storage class, you should set this variable to the appropriate value.

The region should be the region where your S3 metrics are stored on CloudWatch.

Install the Recorder

Publish the Laravel Pulse config so that you may add the S3 Metrics recorder:

This will publish the Pulse config to config/pulse.php

Add the S3 Metrics recorder to the recorders section of the Pulse config:

Add the card to your Laravel Pulse dashboard

Publish the Laravel Pulse dashboard view:

This will publish the Pulse dashboard view to resources/views/vendor/pulse/dashboard.blade.php

Add the S3 Metrics card to your dashboard (the card looks best at full width):

Usage

The S3 Metrics card may not show metrics from your S3 bucket immediately. It may take up to 24 hours for metrics to be available on CloudWatch.

The recorder will run periodically whilst php artisan pulse:work is running. You can run this command in a terminal window to start the recorder:

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-pulse-s3-metrics with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
aws/aws-sdk-php Version ^3.0
illuminate/contracts Version ^10.0
laravel/pulse Version ^1.0@beta
livewire/livewire Version ^3.2
spatie/laravel-package-tools Version ^1.16.1
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 arcana/laravel-pulse-s3-metrics contains the following files

Loading the files please wait ....