Tag Archives: Laravel

Usefull Linux Commands help you in web Development

238 ViewsHow to Start and Stop Apache Server sudo /etc/init.d/apache2 stop – Stop Apache server sudo /opt/lampp/lampp start – Start server again Install composer globally- Create laravel project using composer – php /usr/local/bin/composer create-project –prefer-dist laravel/laravel winelabel Edit php.ini file – sudo gedit /opt/lampp/etc/php.ini sudo chmod -R 777 storage After too many problems, the below …

Tips to improve your Routing in Laravel

278 ViewsLaravel routes Routing is one of the most important parts of Laravel.Routing in Laravel defines which URL redirect to which action in a controller. All Laravel routes are declared in your route files, that are placed within the routes directory routes/web.php. Available Router Methods Route::get($uri, $callback); Route::post($uri, $callback); Route::put($uri, $callback); Route::patch($uri, $callback); Route::delete($uri, $callback); …

The complete beginner’s guide to authenticate REST API using Laravel Passport

299 ViewsLaravel Passport https://laravel.com/docs/5.8/passport Laravel makes API authentication a breeze using Laravel Passport, which provides a full OAuth2 server implementation for your Laravel application in a matter of minutes. Passport is built on top of the League OAuth2 server that is maintained by Andy Millington and Simon Hamp. Installation To get started, install Passport via …

How Laravel Packages saved your time and effort

191 Views1-fzaninotto/Faker https://github.com/fzaninotto/Faker Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you. Installation composer require fzaninotto/faker   2-PHPMailer/PHPMailer https://github.com/PHPMailer/PHPMailer Many PHP developers utilize …