PHP code example of jeffersonpereira / realestatelaravel

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

    

jeffersonpereira / realestatelaravel example snippets


composer 

use Jeffpereira\RealEstate\Utilities\Helpers\RouteHelper;

$routes = RouteHelper::allView();

/**
*  Defines whether to use the package `template`
*  -   When set to false, you will need to define a `template` and
*      section_content for the content.
*  .env >> RE_USE_TEMPLATE
*/
'use_template' => true
/**
*  The name of the `template` used to extend the package view - .env >> RE_TEMPLATE
*/
'template' => 'template',
/**
*  Template content section name - .env >> RE_SECTION_CONTENT
*/
'section_content' => 'content',
bash
php artisan realestatelaravel:install
bash
php artisan migrate