2017 © Pedro Peláez
 

library eloquent-case

rdehnhardt Eloquent Case

image

rdehnhardt/eloquent-case

rdehnhardt Eloquent Case

  • Monday, May 28, 2018
  • by rdehnhardt
  • Repository
  • 4 Watchers
  • 6 Stars
  • 88 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 577 % Grown

The README.md

eloquent-case

Set attributes to upper or lower case automatically. Recommended for business systems., (*1)

Installation

Run the following command to get the latest version package, (*2)

composer require rdehnhardt/eloquent-case
// app/Customer.php
namespace App;

use Illuminate\Database\Eloquent\Model;
use Rdehnhardt\EloquentCase\TransformUpperCase;

class Customer extends Model
{
    use TransformUpperCase;

    /**
     * The attributes that aren't upper case. (optional)
     *
     * @var array
     */
    protected $guardedCase = ['email', 'password'];
}
// app/Customer.php
namespace App;

use Illuminate\Database\Eloquent\Model;
use Rdehnhardt\EloquentCase\TransformUpperCase;

class Customer extends Model
{
    use TransformLowerCase;

    /**
     * The attributes that aren't lower case. (optional)
     *
     * @var array
     */
    protected $guardedCase = ['name'];
}

, (*3)

Contributing

Contributions are welcomed; to keep things organized, all bugs and requests should be opened on github issues tab for the main project in the rdehnhardt/eloquent-case/issues., (*4)

All pull requests should be made to the branch Develop, so they can be tested before being merged into the master branch., (*5)

, (*6)

Having problems?

If you are having problems with the use of this package, there is likely someone has faced the same problem. You can find common answers to their problems:, (*7)

, (*8)

License

The eloquent-case package is open source software licensed under the license MIT, (*9)

The Versions

28/05 2018

dev-master

9999999-dev

rdehnhardt Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

28/05 2018

1.0.5

1.0.5.0

rdehnhardt Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

17/11 2016

1.0.4

1.0.4.0

Baconfy Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

21/11 2015

1.0.3

1.0.3.0

Baconfy Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

09/11 2015

dev-develop

dev-develop

Baconfy Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

09/11 2015

1.0.2

1.0.2.0

Baconfy Eloquent Case

  Sources   Download

MIT

The Requires

 

The Development Requires

30/10 2015

1.0.1

1.0.1.0

Baconfy Eloquent Case

  Sources   Download

The Requires

 

The Development Requires

30/10 2015

1.0.0

1.0.0.0

Baconfy Eloquent Case

  Sources   Download

The Requires

 

The Development Requires