This application is a starting point for building an inventory management system with the Laravel PHP framework.
It's dedicated to my father, who passed away in 2014. He once asked me if I could make an app that tracked inventory for the truck parts and repair company he was a manager for. He said he wanted to know when to order more parts so they wouldn't run out. I wasn't good enough back then, but I am now. This is for you Dad.
It's built with Laravel and React.
PHP and Composer are required to install and run this project. You can use my installer scripts (Mac or Linux: ./bin/install-php) (Windows: ./bin/install-php.bat) or see the links below for official instructions:
git clone https://github.com/zachwatkins/laravel-template
cd laravel-template
npm install
composer create-project
composer run dev
Laravel first-party packages and features:
- Breeze (Laravel Package) for user registration, login, authentication, and profile management. Also includes PestPHP tests for authentication features.
- React with TypeScript and Inertia.js for building single-page applications with type safety.
- Tests for peace of mind.
| Verb | URI | Action | Route Name
| GET | /
| view | welcome
| Verb | URI | Action | Route Name
| GET | /register
| create | register
| POST | /register
| store | -
| GET | /login
| create | login
| POST | /login
| store | -
| GET | /forgot-password
| create | password.request
| POST | /forgot-password
| store | password.email
| GET | /reset-password
| create | password.reset
| POST | /reset-password
| store | password.update
| Verb | URI | Action | Route Name
| GET | /verify-email
| create | verification.notice
| GET | /verify-email/{id}/{hash}
| create | verification.verify
| POST | /verify-email/{id}/{hash}
| store | -
| POST | /verify-email-notification
| store | verification.send
| GET | /confirm-password
| create | password.confirm
| POST | /confirm-password
| store | -
| PUT | /password
| update | password.update
| POST | /logout
| destroy | logout
| GET | /dashboard/
| view | dashboard
| GET | /profile
| view | profile.edit
| PATCH | /profile
| update | profile.update
| DELETE | /profile
| destroy | profile.destroy
| Verb | URI | Action | Route Name
| GET | /api/user
| closure | -
| GET | /parts
| index | parts.index
| GET | /parts/create
| create | parts.create
| POST | /parts
| store | parts.store
| GET | /parts/{id}
| show | parts.show
| GET | /parts/{id}/edit
| edit | parts.edit
| PUT/PATCH | /parts/{id}
| update | parts.update
| DELETE | /parts/{id}
| destroy | parts.destroy
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.