Saturday , 30 May 2020
Stackode
Home > Tag Archives: Laravel

Tag Archives: Laravel

Laravel Syntax error or access violation: 1071

laravel-key-too-long

Trying to migrate in Laravel. When run “$ php artisan migrate” get this error : [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes or Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes or PDOException::("SQLSTATE[42000]: Syntax error or access violation: ...

Read More »

Installation and Running Lumen – Laravel

Lumen - Laravel

To the point Installation and Running Lumen – Laravel Lumen is micro-framework by Laravel Installation 1. Server Requirements PHP >= 5.5.9 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension 2. Installing Lumen Installing Lumen with Composer to manage its dependencies. Make sure you have Composer installed on your machine. Via Lumen installer Download Lumen installer via composer $ composer global require "laravel/lumen-installer" And ...

Read More »

Make your own Helper Functions – Laravel

make-your-own-helper-functions-laravel-blog-whendy

How Make your own Helper Functions.? Well, we just see how and what should be made. The structure of the folders that I use to create a “Helper Functions”. Next we create a file “Helpers.php” and saved in the folder “app/Helpers“. In this Helpers.php file we put the functions that later we will call / use in our every need. ...

Read More »

Cara partials views header, content, footer blade laravel

Cara partials view header, content, footer blade laravel gimana sih.? Masih bingung dengan blade nya laravel.? sama  😆  , mari kita belajar bersama. Ok point aja Cara partials view header, content, footer blade laravel. Pertama perhatikan struktur folder laravel bagian view nya terlebih dahulu, default phat view laravel ada di resource. Kisarnya sperti itu struktur foldernya. Dengan tmbahan beberapa folder. Di ...

Read More »

Form dan HTML Laravel

Installation Opening A Form CSRF Protection Form Model Binding Labels Text, Text Area, Password & Hidden Fields Checkboxes and Radio Buttons File Input Number Input Date Input Drop-Down Lists Buttons Custom Macros Generating URLs Installation Begin by installing this package through Composer. Edit your project’s composer.json file to require laravelcollective/html. "require": { "laravelcollective/html": "~5.0" } Next, update Composer from the ...

Read More »