PHP Classes

Laravel Livewire CRUD: CRUD application implemented with Laravel Livewire

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 71 All time: 10,270 This week: 455Up
Version License PHP version Categories
laravel-with-livewir 1.0.0The PHP License5PHP 5, Databases, Libraries
Description 

Author

This package provides an example of CRUD application implemented with Laravel Livewire.

The application provides classes that extend the Livewire component class to implement the specific aspects of each action of a CRUD application, like the access to the model data, validation and the interface rendering.

The application user authentication and the views are implemented by the Livewire view components.

Innovation Award
PHP Programming Innovation award nominee
February 2022
Number 4
Livewire is a package built on top of the Laravel framework to simplify further a developer's work that needs to develop applications with dynamic interfaces.

Applications based on Livewire require that developers write less code than traditional Web applications or applications based just on Laravel.

This package demonstrates how to implement a simple CRUD application in practice using Laravel Livewire. This way, other developers can learn faster from this practical example.

Manuel Lemos
Picture of Busari Ridwan
  Performance   Level  
Innovation award
Innovation award
Nominee: 4x

 

Example

<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return
view('welcome');
});

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');


Details

<p align="center"><img src="https://res.cloudinary.com/dtfbvvkyp/image/upload/v1566331377/laravel-logolockup-cmyk-red.svg" width="400"></p>

<p align="center"> <a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/d/total.svg" alt="Total Downloads"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/v/stable.svg" alt="Latest Stable Version"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/license.svg" alt="License"></a> </p>

Simple CRUD app with Laravel and Livewire

Laravel is arguably the most popular php frameworks, Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.

Installation

The following steps will guide you through running this application

  • Clone this repository
  • Run composer install
  • Setup DB credentials in the .env file
  • Run DB migration
  • Serve the application to any port
  • Register a new user
  • Enjoy your CRUD operation

  Files folder image Files (106)  
File Role Description
Files folder image.idea (7 files)
Files folder imageapp (1 file, 5 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (14 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files, 2 directories)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package-lock.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:71
This week:0
All time:10,270
This week:455Up