Skip to content

Instantly share code, notes, and snippets.

View ramaID's full-sized avatar
🏠
Working from home

Qisthi Ramadhani ramaID

🏠
Working from home
View GitHub Profile
@ramaID
ramaID / HasLinks.php
Created October 14, 2020 14:32 — forked from tanthammar/HasLinks.php
No more controllers! Only Laravel LiveWire SPA routes and a handy Eloquent Model trait.
<?php
/**
* In your Livewire model for the list of items
*/
class ItemList extends Component
{
// rest of component
@ramaID
ramaID / deploy.yml
Created November 9, 2024 08:06 — forked from jonerickson/deploy.yml
Vapor Deploy
name: Deploy Application
env:
SIDECAR_APP_NAME: ${{ secrets.SIDECAR_APP_NAME }}
SIDECAR_ACCESS_KEY_ID: ${{ secrets.SIDECAR_ACCESS_KEY_ID }}
SIDECAR_SECRET_ACCESS_KEY: ${{ secrets.SIDECAR_SECRET_ACCESS_KEY }}
SIDECAR_REGION: ${{ secrets.SIDECAR_REGION }}
SIDECAR_ARTIFACT_BUCKET_NAME: ${{ secrets.SIDECAR_ARTIFACT_BUCKET_NAME }}
SIDECAR_EXECUTION_ROLE: ${{ secrets.SIDECAR_EXECUTION_ROLE }}
VAPOR_API_TOKEN: ${{ secrets.VAPOR_API_TOKEN }}