laravel-realtime-analytics-dashboard:[演示]

  • z1_676551
    了解作者
  • 265.8KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 05:50
    上传日期
laravel实时分析仪表板 Laravel应用程序,使用“之后”中间件来跟踪所有请求并在仪表板中实时显示分析 先决条件 PHP> = 7.2 作曲家 MongoDB 3.4或更高版本 和 入门 克隆项目并安装依赖项: git clone https://github.com/shalvah/laravel-realtime-analytics-dashboard cd laravel-realtime-analytics-dashboard && composer install && npm install 将.env.example文件复制到.env文件。 将您的Pusher应用凭据添加到此文件: PUSHER_APP_ID=your-app-id PUSHER_APP_KEY=your-app-key PUSHER_APP_SECRET=your-app-secret PUS
laravel-realtime-analytics-dashboard-master.zip
内容介绍
# laravel-realtime-analytics-dashboard Laravel app that uses an "after" middleware to track all requests and display analytics in realtime in a dashboard [View tutorial](https://pusher.com/tutorials/realtime-analytics-dashboard-laravel) ## Prerequisites - PHP >= 7.2 - Composer - MongoDB 3.4 or greater - A [Pusher account](https://pusher.com/signup) and [Pusher app credentials](http://dashboard.pusher.com/) ## Getting started Clone the project and install dependencies: ```bash git clone https://github.com/shalvah/laravel-realtime-analytics-dashboard cd laravel-realtime-analytics-dashboard && composer install && npm install ``` Copy the `.env.example` file to a `.env` file. Add your Pusher app credentials to this file: ``` PUSHER_APP_ID=your-app-id PUSHER_APP_KEY=your-app-key PUSHER_APP_SECRET=your-app-secret PUSHER_APP_CLUSTER=your-app-cluster ``` If your MongoDB server requires a username and password, add those in your `.env` file as the `DB_USERNAME` and `DB_PASSWORD` respectively. Compile assets: ```bash npm run dev ``` Then: ```bash # generate an application key php artisan key:generate # start the app php artisan serve ``` ## Built With * [Pusher](https://pusher.com/) - APIs to enable devs building realtime features * [Laravel](http://laravel.com) - the PHP framework for web artisans :sunglasses: * [Vue](https://vuejs.org) - The progressive web framework
评论
    相关推荐