# HG changeset patch # User luka # Date 1749523089 14400 # Node ID 07e7262a8cce55a5e943ae9f1075b7f93c779dee Initial commit for the framwork base. diff -r 000000000000 -r 07e7262a8cce .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Mon Jun 09 22:38:09 2025 -0400 @@ -0,0 +1,9 @@ +syntax: glob +vendor +*.env +*.env.backup +*.env.production +.php-cs-fixer.cache +*.aichat +tags + diff -r 000000000000 -r 07e7262a8cce .vimrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.vimrc Mon Jun 09 22:38:09 2025 -0400 @@ -0,0 +1,49 @@ +syntax on +set tabstop=2 +set shiftwidth=2 +set softtabstop=2 +set autoindent +set smartindent +"set termguicolors +"set number +nnoremap cc :set colorcolumn=80 +nnoremap ncc :set colorcolumn-=80 +nnoremap :ALECodeAction +set mouse=a + +function! FixPhpFiles() + " Save the current cursor position + let save_cursor = getpos(".") + + "Format the files + let command = 'php-cs-fixer fix .' + let output = system(command) + " Reload the file and restore the cursor position + execute 'edit!' + call setpos(".", save_cursor) +endfunction + +nnoremap f :call FixPhpFiles() + +" Committing commands +map :wa:!hg addremove && hg commit + + + +function! SendBufferToProgram() + " Create a temporary file + let temp_file = tempname() + + " Write current buffer to the temporary file + exe "write! " . temp_file + + " Send the content of the temporary file to your program + " Replace with the actual command to run your program + let command = "cat " . temp_file . " | " + + " Execute the command + call system(command) + + " Optionally, delete the temporary file if not needed + call delete(temp_file) +endfunction diff -r 000000000000 -r 07e7262a8cce composer.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/composer.json Mon Jun 09 22:38:09 2025 -0400 @@ -0,0 +1,22 @@ +{ + "name": "wizard/framework", + "version": "1.0.0", + "description": "A reliable and repeatable base framework.", + "autoload": { + "psr-4": { + "Wizard\\Framework\\":"src/" + } + }, + "minimum-stability": "stable", + "require": { + "laravel/framework": ">=12", + "doctrine/dbal": "*" + }, + "extra": { + "laravel": { + "providers": [ + "Wizard\\Framework\\FrameworkServiceProvider" + ] + } + } +}