PHP code example of zofe / rapyd-admin

1. Go to this page and download the library: Download zofe/rapyd-admin 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/ */

    

zofe / rapyd-admin example snippets

bash
php artisan rpd:make:home
php artisan rpd:make:auth

#then you can serve the app with
php artisan serve
bash
php artisan rpd:make:model {ModelName} 

# example
php artisan rpd:make:model Article
bash
php artisan rpd:make {ComponentName} {Model}

# example
php artisan rpd:make UserTable User

laravel/
├─ app/
│  ├─ Livewire/
│  │  ├─ UserTable.php
│  resources/
│  │  ├─ views/
│  │  │  ├─livewire/
│  │  │  │  ├─ user_table.php
bash
php artisan rpd:make {ComponentsName} {Model} --module={module}

# example
php artisan rpd:make Articles Article --module=Blog

laravel/
├─ app/
│  ├─ Modules/
│  │  ├─ Blog/
│  │  │  ├─ Livewire/
│  │  │  │  ├─ ArticlesEdit.php
│  │  │  │  ├─ ArticlesTable.php
│  │  │  │  ├─ ArticlesView.php
│  │  │  ├─ Views/
│  │  │  │  ├─ articles_edit.blade.php
│  │  │  │  ├─ articles_table.blade.php
│  │  │  │  ├─ articles_view.blade.php
│  │  │  ├─ routes.php
bash
php artisan rpd:make ArticlesTable Article
bash
php artisan rpd:make Articles Article --module=Blog
bash
# articles_view.blade.php