PHP code example of hichemtab-tech / laravel-project-assist

1. Go to this page and download the library: Download hichemtab-tech/laravel-project-assist 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/ */

    

hichemtab-tech / laravel-project-assist example snippets


protected $routeMiddleware = [
    // ...
    'verifyPassword' => \App\Http\Middleware\VerifyPassword::class,
];

Route::post('/edit-profile', function (Request $request) {
    // The current password is valid...
    // continue the profile update
})->middleware('verifyPassword');

php artisan make:repository UsersRepository

php artisan make:trait MyTrait

php artisan make:data-class TeamMember

php artisan make:lang validation

├── en
│   └── ...
│   └── validation.php
├── fr
│   └── ...
│   └── validation.php
└── ar
│   └── ...
    └── validation.php
bach
php artisan env:example
Bash
php artisan vendor:publish --provider=HichemtabTech\LaravelProjectAssist\ProjectAssistServiceProvider --tag=console
Bash
php artisan vendor:publish --provider=HichemtabTech\LaravelProjectAssist\ProjectAssistServiceProvider --tag=middleware