Laravel 7 upsa

AJA • May 12, 2020

laravel

References

Laragon

Laravel

Tailwindcss

Laravel frontend presets

Markdown

Tailwindcss UI

Requirements

Laragon

Laravel with autentication and Tailwindcss

Basic CRUD model creation

php artisan make:model Ticket --migration
php artisan migrate:fresh
php artisan make:factory TicketFactory --model=Ticket
php artisan make:controller TicketsController --resource
php artisan make:test TicketTest
php artisan make:test TicketTest --unit
php artisan make:request TicketRequest
php artisan make:policy TicketPolicy --model=Ticket

Repeat with the following models :

User Profile Role Ability Comment Team

Pagination

Exporting the pagination views to your resources/views/vendor directory using the vendor:publish command.

php artisan vendor:publish --tag=laravel-pagination

Tests

.\vendor\bin\phpunit .\tests\Feature\TicketsTest.php
.\vendor\bin\phpunit .\tests\Unit\TicketsTest.php