Skip to content

mrcandev/Laravel-and-Livewire-Examples

Repository files navigation

Laravel and Livewire Examples

This repository contains examples of using Laravel 11 with Livewire. It provides several use cases demonstrating how to integrate Livewire components into a Laravel application.

Demo Video

LARAVEL_11_TASK_MANAGEMENT_SYSTEM

Screenshots

Livewire Counter Example Screenshot Livewire_Counter_Example

Livewire Load More Example Screenshot Livewire_Load_More_Example

Livewire Live Search Screenshot Livewire_Live_Search_Example

Features

  • Increasing and decreasing with a counter (You can think of it as a cart system)
  • A pagination system where you load blog posts with the load more button.
  • Instant search system

Table of Contents

Prerequisites

Before you begin, ensure you have met the following requirements:

  • PHP >= 8.2
  • Composer installed globally
  • Node.js and npm installed

Installation

To install and set up the project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/mrcandev/Laravel-and-Livewire-Examples.git
    
  2. Navigate to the project directory:
    cd project_folder
    
  3. Install PHP dependencies:
    composer install
    
  4. Install JavaScript dependencies:
    npm install
    
  5. Compile assets:
    npm run dev
    
  6. Set up your environment variables:
    cp .env.example .env
    php artisan key:generate
    
  7. Run migrations (optional):
    php artisan migrate
    
    

Usage

To install and set up the project locally, follow these steps:

  1. To run the application, use the following command:
    php artisan serve
    

Visit http://localhost:8000 in your web browser to view the application.

Contributing

Contributions are welcome! Here's how you can contribute to this project:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature-name).
  5. Create a new Pull Request.

Supporting

If you find this project useful and would like to support its development, you can:

  • Star the repository: If you find this project helpful or interesting, please give it a star.
  • Fork and contribute: Contributions are welcome! Feel free to fork this project and submit pull requests.
  • Donate: If you'd like to make a monetary donation to support the developer, you can use the sponsor button on GitHub or visit the developer's profile for more options.

License

This project is licensed under the MIT license. .

About

Laravel and Livewire Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages