Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
run:
`composer require mitchbred/entrust`

run: laravel 9
`composer require prince/entrust`

Click [here](https://github.com/Zizaco/entrust/blob/master/README.md) for the full documentation.

**I've updated dependencies only, because I had to upgrade existing Laravel project. Do not use this package for new projects, it's abandoned at this moment. [spatie/laravel-permission](https://github.com/spatie/laravel-permission) should be a good choice.**
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"prefer-stable": false,
"require": {
"php": "^8.0",
"illuminate/console": "^9.0",
"illuminate/cache": "^9.0"
"illuminate/console": "^9.38",
"illuminate/cache": "^9.38"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.0",
"mockery/mockery": "dev-master",
"illuminate/database": "^9.0"
"illuminate/database": "^9.38"
},
"autoload": {
"classmap": [
Expand Down
1,236 changes: 697 additions & 539 deletions composer.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/Entrust/Contracts/EntrustPermissionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Contracts;
<?php

namespace Trebol\Entrust\Contracts;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Contracts/EntrustRoleInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Contracts;
<?php

namespace Trebol\Entrust\Contracts;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Contracts/EntrustUserInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Contracts;
<?php

namespace Trebol\Entrust\Contracts;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Entrust.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This class is the main entry point of entrust. Usually the interaction
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/EntrustFacade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/EntrustPermission.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/EntrustRole.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/EntrustServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Middleware/EntrustAbility.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Middleware;
<?php

namespace Trebol\Entrust\Middleware;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Middleware/EntrustPermission.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Middleware;
<?php

namespace Trebol\Entrust\Middleware;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Middleware/EntrustRole.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Middleware;
<?php

namespace Trebol\Entrust\Middleware;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Traits/EntrustPermissionTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Traits;
<?php

namespace Trebol\Entrust\Traits;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Traits/EntrustRoleTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Traits;
<?php

namespace Trebol\Entrust\Traits;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/Entrust/Traits/EntrustUserTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust\Traits;
<?php

namespace Trebol\Entrust\Traits;

/**
* This file is part of Entrust,
Expand Down
4 changes: 3 additions & 1 deletion src/commands/MigrationCommand.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php namespace Trebol\Entrust;
<?php

namespace Trebol\Entrust;

/**
* This file is part of Entrust,
Expand Down