Skip to content

Instantly share code, notes, and snippets.

View lao9s's full-sized avatar

Dima Botezatu lao9s

View GitHub Profile
@lao9s
lao9s / launch_phpstorm_from_terminal.md
Created August 7, 2025 18:46 — forked from mkeneqa/launch_phpstorm_from_terminal.md
Launch PHP Strom from Terminal (Mac OS)

Create Script

nano launch_phpstorm.sh


#!/bin/sh

open -na "Phpstorm.app" --args "$@"
@lao9s
lao9s / README.md
Created January 23, 2024 20:45 — forked from mohitmamoria/README.md
Inertia.js Form Helper for Axios/API calls

Inertia.js ships with a fantastic form helper but it falls short when also using API/Axios calls in your project.

Here's a composable, built on top of the Inertia's form helper that hooks into it to replace the API calls with Axios.

To use, just replace useForm with useAPIForm.

const form = useAPIForm({
    title: '',
});