when route does not match with given then paste below code in route file : Route::fallback(function() { return abort(404); });
Developers Map
Discy Latest Questions
Please Visit Below link : https://nwidart.com/ https://nwidart.com/laravel-modules/v6/introduction
Use Command to install fresh laravel setup 1. composer create-project --prefer-dist laravel/laravel blog 2. chmod -R o+w blog/storage/ 3. composer install 4. php artisan key:generate
if you want to setup your front end files or backend admin panel then you can use this zip file. in this you will find seperate admin panel or front view. dwonload the zip and set up uour sevrer. it ...
In this article, I will show you how to check file in folder exists or not.if you required to check if file is exists or not in given path then you can check easily. Use Code :
Event Calendar is most common calendar for remember you events or metting or other activities. if you want to use event calendar then you use bewlow Url : Event Calenader CLICK HERE Event Calenader CLICK HERE ...
you can disable laravel routing by edit project directory htaccess file change your existing .htaccess file Options +SymLinksIfOwnerMatch RewriteEngine On RewriteRule ^ index.php [L] to Options +SymLinksIfOwnerMatch RewriteEngine On RewriteRule ^foldername – [L] RewriteRule ^ index.php [L]
Laravel is a most common framework. it is very easy to use and learn.if you want to use route in laravel like slug and you want to match that slug for specific string then you should use below code. Use below ...
Laravel is a most common framework. it is very easy to use and learn.if when we want to get selected column like id and name then we use pluck function. if we want to use order by on a specific ...
Laravel is a most common framework. it is very easy to use and learn.if when we apply relation between two table using model but when we want sorting by joined table column.then you should use below code in your model. Use ...
Laravel is a most common framework. it is very easy to use and learn. when we get data from database we require to manage to take single database column for multiple integer ids.when we store comma seperated ids in database ...
Laravel is most common framework now a days. It is easy to use. when you want email will be unique during register user. Use Below Code : $rules = [ ’email’ => ’email|unique:TABLENAME; ]; if you want check unique value on update and ...
Cutsom helper is used to call a function in multiple file at a time.It Is very simpe and easy method to call a function in your web appllication. Use Below Code : Step 1 : Create a folder Helpers in app directory.
When you want to update a record in your DB by using laravel Query then you can use this SQL query : Use Below Code : $UpdateDetails = YourTableName::where(‘id’,”1″)->update([‘user_name’ =>”developersmap”]); You can use this query to update your record.