Skip to content

Instantly share code, notes, and snippets.

@huzaifa-a
Last active February 16, 2022 13:17
Show Gist options
  • Save huzaifa-a/0d9f959d30dd5382c0e7d017cd6b51ab to your computer and use it in GitHub Desktop.
Save huzaifa-a/0d9f959d30dd5382c0e7d017cd6b51ab to your computer and use it in GitHub Desktop.
initial setup

install laravel/ui

composer require laravel/ui
php artisan ui bootstrap --auth
php artisan migrate

disable registration

Auth::routes(['register' => false]);

add in app.blade file

<!-- Styles -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>

install log viewer

composer require arcanedev/log-viewer
php artisan log-viewer:publish --tag=config

Initiate queues

php artisan queue:table
php artisan migrate

add in .env file

ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,auth
QUEUE_CONNECTION=database

HubSpot SDKs

composer require hubspot/hubspot-php hubspot/api-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment