srit83/laravel-extardent

There is no license information available for the latest version (0.5.2) of this package.

Extending laravelbook/ardent

0.5.2 2014-02-27 08:27 UTC

This package is not auto-updated.

Last update: 2024-12-21 16:32:41 UTC


README

#Extardent

an extension package for laravelbook/ardent

##Install

Add srit83/laravel-extardent as a requirement to composer.json:

{
    "require": {
        "srit83/laravel-extardent": "dev-master"
    }
}

Update your packages with composer update or install with composer install.

Add the service provider to your app/config/app.php

'providers' => array(
    //...
    'Srit83\Extsentry\ExtsentryServiceProvider',
    //...
)

Thats it. ;-)

##Using

Extend your models from Extardent class

<?php
use Srit83\LaravelExtardent\Extardent;

class SmsRecipient extends Extardent
{
}

If you dont know how you configure your rules or before and after events show Max Ehsans laravelbook/ardent package on github

Have coding fun! ;-)