High Ticket System is lightweight and developer friendly PHP Laravel ticket system. It also usable for production environment.
- fzaninotto/faker ~1.4
- mockery/mockery 0.9.*
- phpunit/phpunit ~4.0
- phpspec/phpspec ~2.1
- laracasts/generators ^1.1
- laracasts/testdummy ~2.0
- Base
- Register
- Login
- Password Reset
- Account Settings
- Logout
- Notifications
- Tickets
- Create Ticket
- Upload multiple file
- Ticket Details
- Files
- Comments
- New Comments
- Change ticket status (permission:ticket.status.edit)
- Edit Ticket (permission:ticket.edit)
- Delete Ticket (permission:ticket.delete)
- Create Ticket
- Priorities
- Index Priority
- Create Priority
- Edit Priority
- Delete Priority
- Statuses
- Index Status
- Create Status
- Edit Status
- Delete Status
- Departments
- Index Department
- Create Department
- Edit Department
- Delete Department
- Users
- Index User
- Create User
- Edit User
- Delete User
Firstly, clone project to your computer.
git clone [email protected]:erayaydin/ticket.git
Move to project folder
cd ticket
Install php composer dependencies.
php artisan install
Edit .env
file
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Migrate migration files
php artisan migrate
Seed role table
php artisan db:seed --class="RoleTableSeeder"
There is no user factory and seed table yet. Create manually with temporary route.
Dont commit that temporary route
There is no priority factory and seed table yet. Create manually with temporary route.
Dont commit that temporary route
There is no status factory and seed table yet. Create manually with temporary route.
Dont commit that temporary route
Use Language Files
Dont just write plain text to view files. Use language support. trans(...)
Carefully define route names
Route names should module.route
Carefully create view files
View file names should controller/method.blade.php
Uploading Files to storage path
Do Not upload files to public, use storage path. IF not directly show in view
Use Bower for assets
Do Not use dist files for assets(css/js etc). Use bower for that and Elixir.
Use Request File
Create request files for validation.