Laravel can’t connect to mysql

It seems your MySQL connection is not configured correctly. Kindly check your MySQL configuration in your .env file. You can find .env file in root directory of Laravel. DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=Your_database_name DB_USERNAME=Your_database_username DB_PASSWORD=Your_database_password

Read More

Can laravel be hacked ?

Answers to this question is NO.Laravel application’s are 100% secure (depends what you mean by “secure” as well), in terms of things you can do to prevent unwanted data/changes done without the user knowing. Larevl have inbuilt CSRF security, input validations and encrypted session/cookies etc. Also, Laravel uses a high encryption level for securing Passwords. […]

Read More

What are laravel collections ?

Laravel collections are one of the most powerful provisions of the Laravel framework. They are what PHP arrays should be, but in better way. The Illuminate\Support\Collection class provides a convenient wrapper for working with arrays. The Collection class implements some PHP and Laravel interfaces such as :- ArrayAccess – Interface to provide accessing objects as […]

Read More

What are laravel commands ?

All Commands in Laravel are provided with Artisan.You may also build your own custom commands for working with your application.In Laravel all commands are stored in “app/commands” directory; however, you are free to choose your own storage location as long as your commands can be autoloaded based on your composer.json settings. Read more about Artisan

Read More

What are Laravel Facades ?

Laravel Facades provides a static like interface to classes that are available in the application’s service container. Laravel self ships with many facades which provide access to almost all features of Laravel’s. Laravel Facades serve as “static proxies” to underlying classes in the service container and provides benefits of a terse, expressive syntax while maintaining […]

Read More