PHP code example of mengdodo / laravel-tools

1. Go to this page and download the library: Download mengdodo/laravel-tools 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/ */

    

mengdodo / laravel-tools example snippets

$xslt
php > 7.0 || php > 9.0

laravel > 5.5 || laravel > 9.*
$xslt
php artisan make:trait Order
// Trait created successfully in app/Traits/OrderTrait.php
$xslt
php artisan make:service Mail
// service created successfully in app/Services/MailService.php
$xslt
php artisan make:repo Product
// Trait created successfully in app/Repositories/ProductRepository.php
$xslt
php artisan make:presenter Category
// Trait created successfully in app/Presenters/CategoryPresenter.php