This is a collection of few handy tools that are needed on day to day basis. This project main goal is to be learning ground for Vue 2, hence it's new-user-contribution-friendly :)
Creating new "tool" is quite easy.
- If you haven't already done so, make a fork of this repository.
- Go to the terminal and type
php artisan make:tool NAME-OF-YOUR-AWESOME-TOOL
- This will create two files for you. One is new PHP class placed at
App\Tools\Yourawesometool
and second one is vue component placed atresources\assets\js\tools\yourawesometool.vue
- PHP class have 2 methods
get
andpost
.get
is intended to be used on the initial call of the tool (if needed).post
is action that you submit from your vue component and expect results of your awesome new tool. - Also don't forget to run
npm run watch
to compile your vue changes. List of tools is cached. So in case that you manually create new tools, don't forget to runphp artisan cache:clear
If you wish to contribute to the general setup of this app, please do not hesitate to do so, original idea is to make easy project for newbies to contribute to, but every good advice is more than welcome.