LARAVEL - OPENSOURCE PHP FRAME WORK
COMPLICATED WEB APPS AND APIIS
SERVER SIDE
its advantage is cli
its modern framework and easy to use
php has zend, codeignitor, yii. cake,symfony, laravel
out of those laravel is modern ( cli migrate,seeder, we can genearte seeders)
mail also send using cli
its is most used framefork in php
first release 2011, developed by taylor otwell
5.8 NOW
6,7,,8,9,10
php artisan -V TO know the version of laravel
why we should we use
\mvc support and oops
eloquent orm
stornga cli
regular updates
in build authentication and authorization
tempalting engine
large community
simple and fst
install php,mysql, composer, ide dvelopemnt tool
instal composer
how to install laravel
php 7.3
composer install
then laravel install
php -v to knowt the versionname
crete new file phpinfo.php
<?php
phpinfo();
?>
to install composer
composer
it wil installusing cli
laravel.com
laravel new example-app for new project
composer global require laravel/installer
php artisan serve
.htaccess - to remove without using php artisan serve
php artisan serve- it wil show basic laravel
iam using visual strudio is idm and some body using phpstorm
folder structure of laravel
app -> console -> kernel.php
when we start laravel
it ist check kernel.php
php artisan serve- its ready made command
but if we need any thing custom command
it is available in app/commands foler
php artisan serve - deault command
app-> exceptions -> handler.php -> angualr
No comments:
Post a Comment