PHP code example of daniel2mind / laravel-locators

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

    

daniel2mind / laravel-locators example snippets

js
php artisan vendor:publish --force
js
Route::get('locator', 'WebLocator@example'); //inserir em web.php
Route::get('locator', 'ApiLocator@example'); //inserir em api.php