how to use another project the controller, resources and views models in laravel project code example
Example: use resource in laravel 8
php artisan make:controller PhotoController --resource --model=Photo
php artisan make:controller PhotoController --resource --model=Photo