No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpunit.xml
readme.md
server.php
yarn.lock

readme.md

Moesif Laravel Example

Laravel is a web application framework that many developers to serve APIs.

Moesif is an API analyatics platform. moesif-laravel is a middleware that makes integration with Moesif easy for Laravel based applications.

This is an example of laravel application with Moesif integrated.

Key files

moesif-laravel's github readme already documented the steps for setup, so following those instruction, these files are modified in relation to the standard files of Laravel app.

  • app/Http/Kernel.php added Moesif middleware.

  • config/moesif.php this is the settings for Moesif Middleware with example options.

If you are going to run this example, please remember to go to config/moesif.php and update with application id with your actual application id.

How to run.

Step 1: Install all dependencies by composer install or composer update. See composer for more information.

Step 2: Please follow standard Homestead setup instructions from Laravel

There are several routes for testing APIs and none JSON webpages. Please see routes/api.php for available routes for testing.