Data dodania Pytanie
2017-03-12 07:03 How to extend Laravel Storage facade? »
Without knowing how Laravel facades work, based on my PHP knowledge, I tried to extend Storage facade to add some new functionalities. I have this co...
(2) odpowiedzi
2017-03-11 17:03 Strings vs integers for storing data »
What would be considered the best practise when it comes to storing datatypes to the database? For instance, you have a support ticket feature in whi...
(4) odpowiedzi
2017-03-11 08:03 How to get All data from a model except one? »
I want to retrieve all users data except one.for that i used the following query $users=User::whereNotIn('name',['admin'])->pluck('id','name'); ...
(2) odpowiedzi
2017-03-11 07:03 How to Calculate Previous Rows Balance in Laravel »
I have a Amount Transaction table which contains the following data's: First Thing I Display Balance Amount. Controller Code $invaccountstate...
(1) odpowiedzi
2017-03-11 06:03 Multiple projects using Laravel »
I recently installed Laravel and created a project on my webserver. I had to create a symbolic link for public_html to the public folder inside the La...
(1) odpowiedzi
2017-03-10 18:03 Laravel 5.4 - How to customize notification email layout? »
I am trying to customize the HTML email layout that is used when sending notifications via email. I have published both the mail and notification vie...
(2) odpowiedzi
2017-03-10 15:03 OctoberCMS How to Override Users Plugin onRegister() Function? »
I'm using OctoberCMS based on Laravel. I'm trying to override the Users Plugin onRegister() function. A previous answer helped me extend the plugin....
(1) odpowiedzi
2017-03-10 09:03 JQuery using .html to past ajax data in table »
I have a problem with pasting some html into a div. I think I know what I'm doing wrong but I cannot find a solution to this. I have an empty div call...
(3) odpowiedzi
2017-03-10 08:03 how to print 2d array in laravel 5.4.12 by dd();? »
please help me to solve this problem that how to die and dump 2D array in laravel and count array in an array.. i tried this but not working $arr=col...
(5) odpowiedzi
2017-03-10 08:03 Laravel binding replace question mark from variable »
I have area table like : ----------------------------- id | name | level ----------------------------- 1 | India | country 2 | Some?th...
(3) odpowiedzi
2017-03-09 16:03 Passing API data to view Laravel »
I can't figure out why my data is not being passed to View I get the message Undefined variable: project Can someone help identify where i am going ...
(2) odpowiedzi
2017-03-09 13:03 Laravel 5.4 Disable Register Route »
I'm trying to disable the register route on my application which is running Laravel 5.4. In my routes file I only have the Auth::routes(); Is there ...
(2) odpowiedzi
2017-03-09 08:03 Modify OctoberCMS Laravel Plugin to Disable Form Username Change »
I'm using OctoberCMS based on Laravel with the official Users plugin. How can I modify this plugin to Disable or Deny Username Change? The form can ...
(1) odpowiedzi
2017-03-09 07:03 how to change title with data in database laravel backpack »
im new at laravel backpack. Here i want to change the title in layout with my data in database this is the image i want change that 'Backpack' wit...
(1) odpowiedzi
2017-03-09 06:03 Laravel 5.4 TokenMismatchException in VerifyCsrfToken.php line 68 »
When I login for the first time it works perfectly but when I log out from my app and try to re-login I get this error. I've tried almost every avail...
(2) odpowiedzi
2017-03-08 20:03 How to encrypte and decrypte laravel 5.4.6 class object »
How can I encrypte and decrypte of class object, store it into database. Actually I want to secure my database that if anyone stole it then not able t...
(1) odpowiedzi
2017-03-08 18:03 Laravel Cashier Call to Undefined Method onGracePeriod() »
So I recently upgraded from Laravel 5.1 -> 5.4 and Cashier from 5.0 -> 7.0. In my blade I am using this check to see if a user is in their grace perio...
(1) odpowiedzi
2017-03-08 11:03 Multiple Laravel Projects on a single domain with NGINX »
At work we have a single staging server with a staging domain, something like https://staging.example.com. We recently decided to switch from Apache t...
(1) odpowiedzi
2017-03-08 10:03 How to Validate and Sanitize Form Checkbox Array? »
I'm using OctoberCMS based on Laravel and Twig. I have a form with checkboxes queued[]. They are submitted and deleted with Laravel using a loop. It...
(1) odpowiedzi
2017-03-08 08:03 Laravel placing varialbe into @lang() »
@lang('bonus.foo') @lang('bonus.{{$data["ruleclass"]}}') <-- $data["ruleclass"] I need to put variable into @lang in laravel, the variable can be...
(1) odpowiedzi
2017-03-08 05:03 How to migration change columns type? »
I got an error, When I try to column type from string to text, With migration function of Laravel. File : {data_time}_change_db_structure.php public...
(2) odpowiedzi
2017-03-07 23:03 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'property_id' cannot be null in Laravel 5.2 »
I am trying to solve this problem, where I try to edit multiple files with the update method in laravel 5.2. When I run my process and save it return...
(2) odpowiedzi
2017-03-07 21:03 How to get and order the most relevant entries from the database with multiple keywords Laravel 5 »
I am having trouble handling multiple keywords and querying the database based on relevance. I want to search each row and if there is more than 1 key...
(1) odpowiedzi
2017-03-07 13:03 How can I collect all my types into one table in laravel? »
I have got multiple type tables where I specify types of other tables. I use these types for form selections or other for use. For example I have a us...
(2) odpowiedzi
2017-03-06 21:03 How to pass parameter to function Laravel? »
I have function: public static function profile(Request $request){ return self::getProfileType(Request $request); } How to use functi...
(2) odpowiedzi
2017-03-06 20:03 Run laravel project in a directory folder on shared hosting »
My question is: How can i run a laravel application in a directory (not in root) on a shared webhosting? For some of my clients I run Laravel a...
(1) odpowiedzi
2017-03-06 18:03 protecting files by generating links with limited life cycle using Spatie URL-Signer »
I am developing my project using Laravel (ocotber CMS) and using Spatie URL Signer package to protect my files with limited life links. I upload my fi...
(1) odpowiedzi
2017-03-06 10:03 Combining Multiple Files with Laravel Mix »
I am currently in the process of diving into Laravel Mix and so far, whilst I fully understand what Laravel Mix is and how it works, I am trying to un...
(0) odpowiedzi
2017-03-06 06:03 CSRF Token mismatch exception in Laravel error logs »
When I post a <form> in Laravel an exception error appears in my server logs. My form submit successfully but there is an exception in the error...
(1) odpowiedzi
2017-03-06 00:03 Understanding Laravel Mix »
Understanding Laravel Mix I am currently in the process of migrating one of my websites to Laravel in order to make it a little more maintainable in ...
(1) odpowiedzi
2017-03-05 13:03 How to save images url and images in laravel 5.4 with ajax? »
I have connected on the page welcome.blade.php javascript cropbox that truncates the image. After click on button Crop i get the string like data:imag...
(3) odpowiedzi
2017-03-05 10:03 How to get data from Pivot table? »
I tried to get data from pivot table as: @foreach ($announcements as $index => $item) {{dd($item->pivot->category->translate('en')-...
(1) odpowiedzi
2017-03-05 10:03 Laravel 5.x save two models with relationship in one form »
I studied the Laravel Intermediate Task tutorial and now I want to create a more complicated app based from it. I am creating a daily log app to stud...
(2) odpowiedzi
2017-03-05 09:03 How to make a custom theme using Laravel and where to store theme data? »
I'm building a full website Using Laravel and this problem is facing me , I want to give the user full control to the site appearance and the ability ...
(1) odpowiedzi
2017-03-05 03:03 PHP Laravel Error: Object of class stdClass could not be converted to string »
I am developing a feature for an app using Laravel, and I am coming across this weird error that I can't figure out. I have the following code as a he...
(1) odpowiedzi