Skip to content

patrickcurl/Laravel4withSentry2andAssetPipeline

 
 

Repository files navigation

Laravel 4.2 with Sentry 2 + Asset PipeLine Version 1.0.

This is a fork of L4withSentry upgraded to Laravel 4.2 with full support for Mailgun/Mandrill driver methods of sending email (added Guzzle to composer), and with Codesleeve Asset Pipeline fully integrated as well.

This is a demo of Sentry 2 integrated with Laravel 4 and Bootstrap 3.0. This repo is intended to be for reference only - if you want to use this code in your own app I suggest using Sentinel - a laravel pacakge based on this repo.

Instructions

Before you begin, make sure you have both git and composer installed on your system.

  1. Clone the repo

  2. Run php composer.phar update

  3. Set up your datbase configuration in app/config/database.php

  4. Edit app/config/mail.php to work with your mail setup.

  5. Run the migrations: php artisan migrate

  6. Seed the Database: php artisan db:seed

  7. For asset-pipeline to work edit bootstrap/start.php

    $env = $app->detectEnvironment(array( 'local' => array('your-machine-name'), ));

Database

The Default DB is setup to use SQLite for testing as its the fastest way to get a testapp up and running.

Seeds

The seeds in this repo will create two groups and two user accounts.

Groups

  • Users
  • Admins

Users

Links

Tests

Build Status

  1. Make sure you've run composer update.
  2. cd to the L4withSentry project root directory.
  3. Execute phpunit to run tests or phpunit --coverage-text to see text based code coverage summary.

Notes

  • Tests are currently very limited.

History

Version 1.0 :

  • Forked L4withSentry,
  • added AssetPipeline,
  • upgraded to Laravel 4.2,
  • added Guzzle for mail drivers support (Mailgun/Mandrill),
  • modified Sentry model from 'Cartalyst\Sentry\Users\Eloquent\User', to 'User' for easier customization.
  • modified database.php to use SQLite_dev for faster startup of testapp.
  • moved all public files to asset pipeline. ======= The Laravel framework is open-sourced software licensed under the MIT license

About

Laravel 4 and Sentry 2.0

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.9%
  • Perl 1.4%
  • JavaScript 0.7%