Download the PHP package rajtika/mongovity without Composer

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

Welcome to mongovity package

Application activity logging for Laravel using MongoDB.

Requirements

Upgrading from jenssegers/mongodb

This package previously depended on the abandoned jenssegers/mongodb package. It now uses the officially maintained mongodb/laravel-mongodb package.

In your Laravel application:

  1. Remove the old package and install the official one:

  2. Update your MongoDB model imports from:

to:

  1. Update config/database.php if needed. The service provider is auto-discovered as MongoDB\Laravel\MongoDBServiceProvider.

  2. Upgrade this package to the latest version:

No changes are required to your mongovity usage (ActivityTrait, Mongovity service, or facade). Existing activity log data remains compatible.

Installation

Implementation

If your user table has first_name and last_name, add this accessor to log the user name:

If your user table uses a column other than mobile, add this accessor:

To access the built-in activity log UI, assign the admin role or the activity_logs permission to the user (when using Spatie Laravel Permission).

Notes

Configuration

Key Description Default
connection_name MongoDB database connection mongodb
collection_name MongoDB collection for logs activity_logs
causer_model User model class for causer references App\Models\User
log_name Application log identifier APP_NAME
route_middleware Middleware for mongovity routes ['web', 'auth']
index_route_middleware Permission middleware for the log UI role_or_permission:admin\|activity_logs
layout App layout view for embedding the log page null (standalone page)
content_section Blade section for page content content
styles_stack Blade stack for page styles styles
scripts_stack Blade stack for page scripts scripts
skip_daterangepicker_assets Skip Moment.js / DateRangePicker CDN assets false

Avoid jQuery / DataTables conflicts

By default, the log page renders as a standalone HTML page with its own CDN assets. That can break your application dropdowns and plugins when the page is opened inside your app.

Set your application layout in config/mongovity.php:

Your layout must already load:

Example in your layout:

Publish and customize the view if your stack names differ:


All versions of mongovity with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/support Version ^12.0
mongodb/laravel-mongodb Version ^5.2
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 rajtika/mongovity contains the following files

Loading the files please wait ...