atrauzzi / authoritaire Goto Github PK
View Code? Open in Web Editor NEWThis project forked from toddish/verify-l4
A simple authorization bundle for Laravel 4.
This project forked from toddish/verify-l4
A simple authorization bundle for Laravel 4.
Please update to L4.1.
When i try to install, composer throws thoses errors:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework 4.1.x-dev
- Conclusion: don't install laravel/framework 4.1.x-dev
- Conclusion: don't install laravel/framework v4.1.9
- Conclusion: don't install laravel/framework v4.1.8
- Conclusion: don't install laravel/framework v4.1.7
- Conclusion: don't install laravel/framework v4.1.6
- Conclusion: don't install laravel/framework v4.1.5
- Conclusion: don't install laravel/framework v4.1.4
- Conclusion: don't install laravel/framework v4.1.3
- Installation request for atrauzzi/authoritaire 1.0 -> satisfiable by atrauzzi/authoritaire[1.0].
- Conclusion: don't install laravel/framework v4.1.2
- Conclusion: don't install laravel/framework v4.1.1
- atrauzzi/authoritaire 1.0 requires illuminate/support 4.0.x -> satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9], illuminate/support[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
- don't install illuminate/support 4.0.x-dev|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.0|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.0-BETA2|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.0-BETA3|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.0-BETA4|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.1|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.10|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.2|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.3|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.4|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.5|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.6|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.7|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.8|don't install laravel/framework v4.1.0
- don't install illuminate/support v4.0.9|don't install laravel/framework v4.1.0
- Can only install one of: laravel/framework[v4.1.0, 4.0.x-dev].
- Can only install one of: laravel/framework[v4.1.0, v4.0.0].
- Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA2].
- Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA3].
- Can only install one of: laravel/framework[v4.1.0, v4.0.0-BETA4].
- Can only install one of: laravel/framework[v4.1.0, v4.0.1].
- Can only install one of: laravel/framework[v4.1.0, v4.0.10].
- Can only install one of: laravel/framework[v4.1.0, v4.0.2].
- Can only install one of: laravel/framework[v4.1.0, v4.0.3].
- Can only install one of: laravel/framework[v4.1.0, v4.0.4].
- Can only install one of: laravel/framework[v4.1.0, v4.0.5].
- Can only install one of: laravel/framework[v4.1.0, v4.0.6].
- Can only install one of: laravel/framework[v4.1.0, v4.0.7].
- Can only install one of: laravel/framework[v4.1.0, v4.0.8].
- Can only install one of: laravel/framework[v4.1.0, v4.0.9].
- Installation request for laravel/framework 4.1.* -> satisfiable by laravel/framework[4.1.x-dev, v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
I am getting something like this:
Declaration of Atrauzzi\Authoritaire\Model\AuthorizableImpl::addRole(Atrauzzi\Authoritaire\Model\Role $role) must be compatible with Atrauzzi\Authoritaire\Model\Authorizable::addRole()
I just ran a few tests and noticed that the instanceof check in the Role's addAuthorizable method is incorrect. It should be checking for the instanceof the interface Authorizable not the trait AuthorizableImpl. It errors out since a class using a trait is not an instanceof said trait. See this for more info on that.
What about to add a configuration file to customize tables names?
I think it can be useful.
A note :
Check this tweet : https://twitter.com/laravelphp/status/368599232246054912
Taylor working on polymorphic many to many relationship!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.