PHP code example of khatriafaz / laravel-ensure-production

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

    

khatriafaz / laravel-ensure-production example snippets


return [
	/**
	 *	The domains for production must be added to this array
	 */
	'domains' => [
		 'domain.com'
	],

	'override_config' => [
		/**
		 *	You can override config variables for
		 *	the configured domains above
		 */

		 'app.name' => 'Laravel'
	]
];