Skip to content

Amoralchik/php-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP playground

Learning playground for php all-in-one

Features

Event Management System

  • Create and manage events with ease
  • Organize events by date and location
  • Manage event participants and notifications
  • Track event status and completion

Task List

  • Add, edit, and delete tasks
  • Mark tasks as complete/incomplete
  • Search and filter tasks by title or status
  • Paginate task list for better navigation

Book Review System

  • Create and manage book reviews
  • Rate books on a scale of 1-5 stars
  • Leave detailed written reviews
  • View average ratings per book
  • Filter books based on ratings and categories

Installation

To get started with the project, follow these steps:

  1. Clone the repository:
git clone [your-repository-url].git
cd [project-name]
  1. Install dependencies using Composer:
composer install
  1. Set up your database:
cp .env.example .env
php artisan key:generate
  1. Run the database migrations:
php artisan migrate:fresh --seed
  1. Install and compile frontend assets:
npm install
npm run dev

Usage

Event Management Routes

  • List all events: /events
  • Create new event: /events/create
  • Edit event: /events/{event}/edit
  • View event details: /events/{event}

Task List Routes

  • View task list: /tasks
  • Create new task: /tasks/create
  • Toggle task completion: /tasks/{task}/toggle-complete
  • Update task: /tasks/{task}/edit

Book Review Routes

  • View all books: /books
  • View book details and reviews: /books/{book}
  • Add review to book: /books/{book}/reviews/create

Key Features

  • Task Management:

    • CRUD operations for tasks
    • Toggle task completion status
    • Responsive pagination
  • Book Reviews:

    • Create, read, update reviews
    • Rate books and view ratings
    • Display average ratings
    • Cache invalidation on review changes

License

The project is open-sourced under the MIT license.

Acknowledgments

Special thanks to:

  • The Laravel community for providing excellent frameworks and documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages