Laravel 5 is the previous major version of the open-source PHP web development MVC framework created by Taylor Otwell.
I'm trying to create blade directive which echo variable (if variable defined) or echo "no data" if variable undefined. This …
php laravel undefined laravel-5.2 directivethis is my url http://project.dev/blogs/image-with-article so, here I need the parameter image-with-article in my blade to …
php laravel laravel-5.2 blade laravel-bladeIs it possible to manually register a user (with artisan?) rather than via the auth registration page? I only need …
php laravel laravel-5 laravel-5.2foo.blade.php <input type="text" name="national-id" /> FooController.php $rules = [ 'national-id' => 'required|size:10|numeric' ]; the national-id …
php laravel laravel-5 laravel-5.2 laravel-validationI want to seed database when I use this public function run() { $users = factory(app\User::class, 3)->create(); } …
php laravel laravel-5 laravel-5.2 laravel-seedingI have a laravel project. In the root directory are these 4 files: .env .env.example .env.local .env.staging I …
git laravel laravel-5.2 gitlabWhen I want to register a user in my laravel project, the page always says Undefined variable: errors (View: /var/…
laravel laravel-5 laravel-validation laravel-middleware laravel-5.2I am trying to authenticate users and admin form user table and admin table respectively. I am using the User …
laravel laravel-5 laravel-5.2 laravel-authorizationI am getting below error: Connection could not be established with host smtp.gmail.com [php_network_getaddresses: getaddrinfo failed: …
php laravel-5.2 laravel-mailI would like to use PHPUnit to create code coverage reports. I have tried a lot of installation setups found …
phpunit code-coverage laravel-5.2