PHP code example of properos / laravel-base

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

    

properos / laravel-base example snippets


    'providers' => [
        "...",
        Properos\Base\BaseServiceProvider::class,
        "..."
    ],

    Route::get('/', function () {
        return  view('themes.'.\Properos\Base\Classes\Theme::get().'.index')->with(['theme'=>\Properos\Base\Classes\Theme::get()]);
    });

    try {
        window.$ = window.jQuery = e) {}

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=database_name
    DB_USERNAME=root
    DB_PASSWORD=

    use Illuminate\Support\Facades\Schema;
    
    public function boot()
    {
        Schema::defaultStringLength(191);
    }