Category : Laravel

Illuminate/HTML package has been deprecated Do this: In cmd run command: composer require laravelcollective/html In your composer.json file in “require” group should be added this line: “laravelcollective/html”: “5.2.*” Update composer with command: composer update In config/app.php add this lines: in providers group: Collective\Html\HtmlServiceProvider::class, in aliases group: ‘Form’ => Collective\Html\FormFacade::class, ‘Html’ => Collective\Html\HtmlFacade::cla..

Read more

working solution: Assuming On windows XAMPP server similar for other environment – download and extract for cacert.pem here (a clean file format/data) https://gist.github.com/VersatilityWerks/5719158/download put it here C:\xampp\php\extras\ssl\cacert.pem in your php.ini put this line in this section: ;;;;;;;;;;;;;;;;;;;; ; php.ini Options ; ;;;;;;;;;;;;;;;;;;;; curl.cainfo = “C:\xampp\php\extras\ssl\cacert.pem” restart your webserver/apache Problem solved! (source: https://laracasts.com/discuss/channels/general-discussion/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-ce..

Read more

Maintenance Modes To enable maintenance mode, simply execute the down Artisan command: php artisan down To disable maintenance mode, use the up command: php artisan up Create New Projects composer create-project laravel/laravel {Project name} “5.1.*” Laravel Project serve to specific port/IP (eg. localhost:8000) php artisan serve –host=localhost –port=8000 Creating New Laravel Controler (app/Http/Controllers/{controller name}) php ..

Read more

php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;” php composer-setup.php php -r “unlink(‘composer-setup.php’);” —- Change to a directory on your PATH and run the installer following the Download page instructions to download composer.phar. Create a new composer.bat file ..

Read more