create project laravel
composer create-project laravel/laravel example-app
cd example-app
php artisan servecomposer create-project --prefer-dist laravel/laravel blog "6.*"composer global require laravel/installer
laravel new bloglaravel new blogcomposer global require laravel/installer
laravel new example-app
php artisan serve$users = DB::table('users')
->whereColumn('first_name', 'last_name')
->get();
Also in PHP:
- create a directory in php if not exists
- aget date time in php
- check where key in associative array have a value
- check if key exists array
- php try catch multiple exceptions
- db seed for specific table laravel
- consloe.log php
- auto clear cache laravel
- base decode php
- days to date php
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) laravel
- artisan command for clearing cache
- can we seed test database in laravel with seeder?
- echo console log
- console value in php
- download data from s3 and save to local disk laravel
- download laravel project
- 500 server error laravel 7
- disable errors php
- echo header in php
- counting the length of a string in php
- find first occurance of sentence in a string php
- base encode64 php
- actual date php