Daniel LaBarge
Daniel LaBarge
This was added by myself 2 months ago and has lived in documentation ever since. Simply add the named key `pivotKeys` to your relationship: ``` php public static $relationsData =...
@lvian I'm no longer maintaining this commit nor Ardent in general as I've transitioned away from using it. Instead I would recommend [`esensi/model`](http://github.com/esensi/model) if your project supports PHP 5.4. It...
@igorsantos07 was that last paragraph directed at me? I sure hope not. I'm neither the original developer nor ever was a maintainer – I tried to contribute but PRs remain...
@mihaiscurtucb nice catch. I updated my snippet to reflect that for any other lost soul winding up on this issue. Sometimes the solutions are just starring us in the face!...
@GrahamCampbell I use 4-spaces in PHP projects much like the PSR-2 guide recommends. If you look at all the other code in this repository it uses tabs. I converted from...
@GrahamCampbell There are tabs throughout this package in other files which I've never touched. PSR-2 compliance is a newer style-guide for this package and while I like it, that's not...
As it turns out this repo is still not 4.2 compatible internally even with these changes. There are more fundamental incompatibilities between Laravel 4.2 and Ardent than just the above....
@DivDax and anyone else interested, there is now https://github.com/esensi/model which includes dwightwaton/validating package and provides nearly all the same functionality as Ardent but in a more maintainable way under MIT...
@igorsantos07 [BSD-3](https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29) vs. [MIT](https://tldrlegal.com/license/mit-license) I suppose are very similar (I'm no lawyer mind you) though the BSD-3 license actually describes the terms vs. MIT which has universally the same terms....
@LimeBlast thanks for digging. For those using Entrust, you'll need to manually set your Ardent tag to 2.4.1 as Entrust has switched to requiring 2.4.x which if you use Ardent's...