Back to Home
Frank: your supercharged Laravel Sail alternative

Frank: your supercharged Laravel Sail alternative

B
Blizine Admin
·2 min read·0 views

Json Posted on May 31 Frank: your supercharged Laravel Sail alternative # php # laravel # docker # go Today I'm super excited to come out of the shadows (as a "corporate developer") and finally propose the community something that (maybe) can be useful if you're using Sail with Laravel: Frank . (Actually my first post about my first "public" repo :D) What's Frank about? Frank is a supercharged Laravel development tool using Docker, with a lot of features that come from my daily frustrations working with complex Laravel projects. What frustrations? Right. Those are: adapting copy/pasted commands from docs or other sources, from php to sail : sail artisan ... or sail composer , or even sail pnpm commands needing a local PHP and Node installation, which get outdated fast and run into conflicts forgetting to restart my queue workers after code changes having Claude run pest tests with RefreshDatabase only to have my local database wiped (I got seeders but not specific implementations) needing two monitors for my terminal holding all the various panes I need to run queues, claude, sidecar, npm run dev ... (ok admittedly only one monitor) installing Laravel via Docker only got removed from the docs Features From frustrations, ideas! (which turn into features) To keep things short, these are my favorite features: Folder-aware local aliases! (+ custom ones) Taking inspiration from Python and thanks to chpwd hooks, when you go into a frank-managed project, calling php , npm , composer , tinker , ... are directly working and using the containers underneath. You may also edit the commitable frank.yml to add your favourite (and team-shareable) aliases, like trunc for the laravel.log truncation: # Frank.yml aliases : trunc : " truncate -s 0 /var/www/html/storage/logs/laravel.log" Enter fullscreen mode Exit fullscreen mode While aliases only interact with stuff inside the containers, you may also define "host" aliases: browse : cmd : " open http://localhost" host : true Enter ful

📰Dev.to — dev.to

Comments