| name | description | allowed-tools |
|---|---|---|
generate-inertia-docs |
Generate Inertia.js documentation as Word and PDF |
Bash |
Generate Word (.docx) and PDF documentation for the specified Inertia.js version.
| description | arguments | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Scaffold a new Laravel 12 project with Vue 3, Inertia.js, TypeScript, Sail, and common packages |
|
Create a new Laravel 12 project named $ARGUMENTS.project_name inside $ARGUMENTS.parent_dir.
The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to enhance the user's satisfaction building Laravel applications.
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log| Here is a quick way to add authentication logging to Laravel. | |
| 1. Modify app/Providers/EventServiceProvider.php and add lines 16 through 32 of the example file in this GIST. | |
| 2. Create a new file app/Listeners/LogActivity.php and copy the contents of the file below into that file. | |
| 3. Enjoy logging. |
Opinionated code Laravel code for adding recaptcha on website. Bot protection especially on open form with user authentication.
resources/views/components/input/captcha.blade.php
@props([
'id',
'name',
| module.exports = { | |
| root: true, | |
| env: { | |
| browser: true, | |
| node: true, | |
| }, | |
| extends: [ | |
| 'eslint:recommended', | |
| 'plugin:vue/vue3-recommended', | |
| 'prettier' |
| /** | |
| * Print Stylesheet fuer Deinewebsite.de | |
| * @version 1.0 | |
| * @lastmodified 16.06.2016 | |
| */ | |
| @media print { | |
| /* Inhaltsbreite setzen, Floats und Margins aufheben */ | |
| /* Achtung: Die Klassen und IDs variieren von Theme zu Theme. Hier also eigene Klassen setzen */ |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Support\Str; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot(): void |
| ## Setting up a Laravel application | |
| I started by creating a new Laravel app. There are several methods for creating a new Laravel app. I chose the Docker-based one using the Laravel Sail package. You can read more about Laravel installation by following this URL (https://laravel.com/docs/10.x/installation). | |
| Choose the method that best suits you. Before you start, make sure you have Docker running on your computer. | |
| I'm using a MacBook Pro. I start by running this command: | |
| curl -s "https://laravel.build/laravel-app" | bash |