Skip to content
Merged
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
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>


## Laravel 10.x ready to start project
## Laravel 11.x ready to start project

You may save your time to setup your project. You can start your project using this template where we have used Laravel 10.x and CoreUI out of the box Bootstrap.
You may save your time to setup your project. You can start your project using this template where we have used Laravel 11.x and CoreUI out of the box Bootstrap.

## Laravel 10
As you may know, Laravel transitioned to yearly releases with the release of Laravel 8. Previously, major versions were released every 6 months. This transition is intended to ease the maintenance burden on the community and challenge our development team to ship amazing, powerful new features without introducing breaking changes. Therefore, we have shipped a variety of robust features to Laravel 9 without breaking backwards compatibility.
## Laravel 11
As you may know, Laravel transitioned to yearly releases with the release of Laravel 10. Previously, major versions were released every 6 months. This transition is intended to ease the maintenance burden on the community and challenge our development team to ship amazing, powerful new features without introducing breaking changes. Therefore, we have shipped a variety of robust features to Laravel 9 without breaking backwards compatibility.

Therefore, this commitment to ship great new features during the current release will likely lead to future "major" releases being primarily used for "maintenance" tasks such as upgrading upstream dependencies, which can be seen in these release notes.

Laravel 10 continues the improvements made in Laravel 9.x by introducing argument and return types to all application skeleton methods, as well as all stub files used to generate classes throughout the framework. In addition, a new, developer-friendly abstraction layer has been introduced for starting and interacting with external processes. Further, Laravel Pennant has been introduced to provide a wonderful approach to managing your application's "feature flags".
Laravel 11 continues the improvements made in Laravel 10.x by introducing argument and return types to all application skeleton methods, as well as all stub files used to generate classes throughout the framework. In addition, a new, developer-friendly abstraction layer has been introduced for starting and interacting with external processes. Further, Laravel Pennant has been introduced to provide a wonderful approach to managing your application's "feature flags".

## PHP 8.2.0 or greater.
Laravel 11.x requires a minimum PHP version of 8.2.0 or greater.

## curl 7.34.0 Required
Laravel's HTTP client now requires curl 7.34.0 or greater.

## PHP 8.1
Laravel 10.x requires a minimum PHP version of 8.1.

## Features

Expand Down Expand Up @@ -66,6 +70,15 @@ Roles View
Permissions View
![Permission-List-Laravel](https://github.com/bilaschandra/laravel-coreui/assets/5582015/a69a3a8a-956f-4fe2-8c53-0e642ba8099d)

## Release

### Laravel 10
Tags
v1.0-beta
v1.0.1
### Laravel 11
Tags
v2.0.0


## License
Expand Down
12 changes: 6 additions & 6 deletions app/Http/Controllers/PermissionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class PermissionsController extends Controller
* @return \Illuminate\Http\Response
*/
public function index()
{
{
$permissions = Permission::all();

return view('permissions.index', [
Expand All @@ -24,11 +24,11 @@ public function index()

/**
* Show form for creating permissions
*
*
* @return \Illuminate\Http\Response
*/
public function create()
{
public function create()
{
return view('permissions.create');
}

Expand All @@ -39,7 +39,7 @@ public function create()
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
{
$request->validate([
'name' => 'required|unique:users,name'
]);
Expand Down Expand Up @@ -95,4 +95,4 @@ public function destroy(Permission $permission)
return redirect()->route('permissions.index')
->withSuccess(__('Permission deleted successfully.'));
}
}
}
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.1",
"php": "^8.2",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/framework": "^11.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.8",
"laravel/ui": "^4.0",
"laravelcollective/html": "^6.4",
"spatie/laravel-medialibrary": "^10.7",
"spatie/laravel-permission": "^5.9"
"spatie/laravel-medialibrary": "^11.9",
"spatie/laravel-permission": "^6.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.8",
Expand All @@ -22,7 +21,7 @@
"laravel/sail": "^1.18",
"laraveldaily/larastarters": "^2.2",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},
Expand Down
Loading