Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Simple Developer
Simple Developer
How to create action class using artisan command in Laravel
How to make general purpose collection export using Laravel Excel
Laravel system can have various permission denied errors when running in production server.
php artisan serve command runs your website with 127.0.0.1 ip and 8000 port by default.
Error 1 Maximum call stack size exceeded error Solution Update npm using sudo npm i npm -g command. Error 2 ENOENT: no such file or directory, scandir ‘/home/vagrant/app-name/node_modules/node-sass/vendor’ error Solution Execute npm rebuild node-sass –no-bin-links command. (Reference)
To create migration, we can use this artisan command. $ php artisan make:migration create_companies_table Laravel will create a new migration file in database/migrations directory. Generated file is like this:
Laravel is the best PHP framework for develop web application. Official Links Laravel Official Website Laravel Source Code – GitHub Laravel Documentation Video Tutorials Laracast
If you got bellow error when use memcached in Laravel, please check following steps. exception ‘SymfonyComponentDebugExceptionFatalErrorException’ with message ‘Class ‘Memcached’ not found’ in Install memcached $ sudo apt-get install php5-memcached memcached Enabled php5-memcached sudo php5enmod memcached Restart apache web…
Laravel provides unique validation rule for check unique value on a given database table. Ref : Syntax unique:table,column,except,idColumn,whereColumn1,whereValue1,whereColumn2,whereValue2,… Ex1. Validate unique value in given database table ‘username’ => ‘unique:users,username’ Ex2. Validate unique value except given ID In mostly used…
Clone laravel source to server $ git clone Install necessary modules $ npm install$ composer install –no-dev -o –prefer-dist$ bower install Make .env $ cp .env.example .env Generate key to .env $ php artisan key:generate Execute gulp if necessary…