PHP code example of joserick / filament-devtool

1. Go to this page and download the library: Download joserick/filament-devtool library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

joserick / filament-devtool example snippets

bash
alias sail='vendor/bin/sail'
alias canvas='vendor/bin/sail php vendor/bin/canvas'
alias testbench='vendor/bin/sail php vendor/bin/testbench'
bash
vendor/bin/sail php vendor/bin/pest tests/Feature/MakeResourceCommandTest.php
bash
vendor/bin/sail php vendor/bin/testbench make:model User
vendor/bin/sail php vendor/bin/testbench migrate
vendor/bin/sail php vendor/bin/testbench route:list

├── src/                          # Package source code
│   ├── DevToolServiceProvider.php
│   └── Commands/                 # Rewritten make: commands
│       ├── MakeResourceCommand.php
│       ├── MakeFieldCommand.php
│       ├── MakeTableCommand.php
│       └── ...
├── workbench/                    # Laravel skeleton app for testing
│   ├── app/
│   ├── database/
│   └── routes/
├── vendor/                       # Dependencies
├── canvas.yaml                   # Orchestra Canvas configuration
├── testbench.yaml                # Orchestra Testbench configuration
├── compose.yml                   # Docker Compose for Sail
└── install.sh                    # Installation script