Laravel 5 Middleware tutorial
Laravel 5 – Middleware Tutorial : https://tutorialedge.net/laravel-5-middleware-routing-tutorial
This tutorial serves as a more expanded introduction to Laravel 5.1’s middleware than that of the documentation.
Manual – HTTP Middleware : https://laravel.com/docs/5.2/middleware#introduction
Xubuntu 16 – no Ubuntu software center
the solution:
sudo apt-get install software-center
http://askubuntu.com/questions/760776/just-installed-ubuntu-16-04-but-no-software-center
Laravel 5 resize image
Resize Images In Laravel 5.1 using intervention : http://devartisans.com/articles/resize-images-laravel5.1
Laravel 5 – Image Upload and Resize Example using Intervention Image Package : http://www.laravelfeed.com/blog/laravel-5-image-upload-and-resize-example-using-intervention-image-package
Laravel Upgrading To 5 From 4.2
Laravel 5 update from 4.2 – My Experience *********
composer create-project laravel/laravel –prefer-dist
NotFoundHttpException in RouteCollection.php line 161: in laravel 5 – Routing Problem
Class form or html not found in Laravel 5 :
http://tutsnare.com/class-form-or-html-not-found-in-laravel-5/
In laravel 4 it included the following two styles: “{{” and “{{{“. The double curly bracket was a raw echo and the triple curly bracket escaped. Currently in laravel 5 both the double and triple curly brackets escape the variable and a new “{!! $var !!}” is for raw.
*****************************************************
TokenMismatchException in VerifyCsrfToken.php
Add:
http://laravel.io/forum/01-30-2015-laravel5-tokenmismatchexception-in-verifycsrftoken
“I had this problem because the server was throwing a 500 error. ”
Nagyon becsapós is lehet az üzenet. A logban is kell keresni a hibát.
****************************************************
Laravel 4.2 VS Laravel 5.0 : https://www.linkedin.com/groups/4419933/4419933-6125514300493750273
Upgrading To 5.0 From 4.2: http://laravel.com/docs/master/upgrade#upgrade-5.0
Laravel 4 to Laravel 5 – The Simple Upgrade Guide: http://www.sitepoint.com/laravel-4-laravel-5-simple-upgrade-guide/
Upgrading from Laravel 4.2 to Laravel 5: http://stackoverflow.com/questions/28380678/upgrading-from-laravel-4-2-to-laravel-5
Laravel 5 Fundamentals: https://laracasts.com/series/laravel-5-fundamentals
Benchmarks: Laravel 5 vs Laravel 4: https://kanecohen.github.io/laravel-5-vs-laravel-4.html
The Ultimate Guide to Sending Email in Laravel : https://scotch.io/tutorials/ultimate-guide-on-sending-email-in-laravel
Laravel TestTools
Laravel TestTools : http://marcelpociot.com/blog/2016-03-21-laravel-testtools
A Roundup of Laravel Testing Resources and Packages https://laravel-news.com/laravel-testing-resources
Laravel Hungary Meetup + slide
II. Laravel Hungary Meetup: https://www.youtube.com/watch?v=rk06OvLmf1g
I. Laravel Hungary Meetup : https://www.youtube.com/watch?v=dw5yD4ou0SE
slide 1 : lampyon.com/meetup/1_laravel_hungary_meetup_mitol_furge_final.ppsx
slide 2 : lampyon.com/meetup/1_laravel_hungary_meetup_laravel_biztonsag_final.ppsx
I found the best description for PHP 7 upgrade
I did the upgrade by this article but the PHP did’nt work:
http://askubuntu.com/questions/705880/how-to-install-php-7
This works for me: 1. Re-Install PHP 5.6
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0
From php5.6 to php7.0 :
Apache:
sudo a2dismod php5.6 ; sudo a2enmod php7.0 ; sudo service apache2 restart
http://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-to-php-5-6-on-ubuntu-16-04
********************************
PHP7: Mcrypt PHP extension required.
sudo apt-get update
sudo apt-get install mcrypt php7.0-mcrypt
sudo apt-get upgrade
http://stackoverflow.com/questions/34083470/php7-laravel-mcrypt-issue
***********************************
php7 CURL PHP extension:
sudo apt-get install php7.0-curl
install GD:
sudo apt-get install php7.0-gd
************************************
max_file_uploads 2 -> 20M
sudo nano /etc/php/7.0/apache2/php.ini
I edited in nano.
sudo service apache2 restart
*************************************
PHP7 Install SQLITE
sudo apt-get install php7.0-sqlite3
sudo service apache2 restart
*************************************
SQLITE and Laravel Query Builder and Eloquent
CREATE TABLE token (
id INTEGER PRIMARY KEY NOT NULL ,
baz varchar(255) NOT NULL,
user_id INTEGER DEFAULT NULL,
status varchar(255) NOT NULL,
created_at timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00’ ,
updated_at timestamp NOT NULL DEFAULT ‘0000-00-00 00:00:00’
) ;
+ Add index foo
Eloquent:
$token = new Token;
$token->foo = ‘ghgfhfghfghfg’;
$token->status = ‘sfdsfsdsd’;
$token->save();
echo $token->foo; /// !
QueryBuilder:
DB::table(‘token’)->insert(
array(‘foo’ => ‘dsadasdasdasdaf’, ‘status’ => ‘dsfdsfsdfasfdsafasd’)
);
SQLITE insert
How do I create an AUTOINCREMENT field? : A column declared INTEGER PRIMARY KEY will autoincrement.
http://www.sqlite.org/faq.html#q1
In SQLite, table rows normally have a 64-bit signed integer ROWID which is unique among all rows in the same table.
If a table contains a column of type INTEGER PRIMARY KEY, then that column becomes an alias for the ROWID.
http://www.sqlite.org/autoinc.html
Inserting, updating, and deleting data in SQLite : http://zetcode.com/db/sqlite/datamanipulation/