Data dodania Pytanie
2017-03-31 10:03 laravel cron job windows »
Iam trying to develop a cron job for a command to send email. I am completely new to cron jobs so I dont really know how it works. Trying the command...
(1) odpowiedzi
2017-03-30 22:03 Laravel 5.4 - Use Controller Route in javascript function »
I have a table (datatables) and I have an edit icon and I want to call a route with the parameter. My function is currently is function editItem(id)...
(1) odpowiedzi
2017-03-30 21:03 Displaying JSON object on blade template »
I'm trying to display a JSON object that is returned to my blade template that should look the output below 2007 | Kanye | UltralightBeam 2008 | J...
(2) odpowiedzi
2017-03-30 16:03 is laravel cloning my mock object? »
Im testing a Soap web service with getMockFromWsdl from phpunit, for unit testing within laravel works fine, but when I try to replace the SoapClient ...
(1) odpowiedzi
2017-03-30 12:03 Laravel save($request->all()) Error »
I have a question, I've been developing laravel application and I encountered this strange error: QueryException in Connection.php line 770: SQLSTATE...
(2) odpowiedzi
2017-03-30 04:03 Laravel 5.2 CSRF Token expires too quickly »
I am working on Laravel 5.2 application and I am facing this issue for all my views. The CSRF token is getting expired too quickly. In fact, I am ju...
(1) odpowiedzi
2017-03-29 15:03 Laravel Model - All ID's return 1 »
I want to get all the projects through a group. I got that working now, but I can't seem to get the right ID's. I keep getting 1 as the ID for all my ...
(1) odpowiedzi
2017-03-29 14:03 Return Collection after update()? »
Using Raw, how to return collection of updated row? For example: $updated = DB::table('users')->where('id', 1)->update(['votes' => 123]); ...
(3) odpowiedzi
2017-03-29 10:03 Laravel 5.4 Eloquent relationship sorting »
I have two database tables called deliverables, and deliverable_version. Deliverable hasMany Deliverable_Version. Deliverable has id column, an...
(2) odpowiedzi
2017-03-28 22:03 Sort Model by a nested Relationship count »
Room Model <?php namespace App; use Illuminate\Database\Eloquent\Model; class Room extends Model { /** * Get the comments for the room...
(2) odpowiedzi
2017-03-28 14:03 Laravel Form Facade For Select with extra Tag on one option »
I have a select with this option in html form select. <select name="position" id="position" class='position metadata form-control' data-parsley-r...
(2) odpowiedzi
2017-03-28 11:03 Laravel 5.4 Register notfoundhttpexception »
I created a new laravel 5.4 Project + auth. These are the steps I did. laravel new app laravel make:auth php artisan migrate Now if I try to Regi...
(2) odpowiedzi
2017-03-27 20:03 Socialite laravel 5.4 Facebook Provider »
i have a problem here maybe sameone can help me: i install the Socialite pakcage to my laravel project and in start it work perfect with facebook , ...
(3) odpowiedzi
2017-03-27 16:03 How to use session in custom class laravel 5? »
here is my code: <?php use Illuminate\Support\Facades\Session; namespace App\CustomLibrary { class myFunctions { public function is_...
(3) odpowiedzi
2017-03-27 16:03 Laravel dusk not working .env.dusk.local »
I have an application and I want to use Laravel Dusk. I created a file named .env.dusk.local with a database for tests and a file named .env with my ...
(1) odpowiedzi
2017-03-26 16:03 Laravel - Looping through a nested collection »
Function to get all the required data: $auditResults = Audit::where('audit_id', $id) ->with('questionDetail') ->with('questionDetail.au...
(2) odpowiedzi
2017-03-26 12:03 Laravel how to return related model data using whereHas »
I have Member model Ledger model class Member extends Model { public function ledger() { return $this->hasMany('App\Ledger','user_...
(1) odpowiedzi
2017-03-26 12:03 Accessing Function Variable »
public function acceptpersonalvisitupdate(Request $request) { $employeeinfo=$request->input('employeeinfo'); $id=$request->input...
(1) odpowiedzi
2017-03-25 19:03 Laravel 5: Error in Sending Email »
I am trying to send test emails in my Laravel project, and am encountering the following error: ErrorException in helpers.php line 532: htmls...
(1) odpowiedzi
2017-03-25 08:03 Laravel make the browser renders a dynamic image »
I'm using dynamic image generator simple-qrcode. It works fine as img src. However, when I try to directly access, for example site.dev/qr/some-text/6...
(1) odpowiedzi
2017-03-25 01:03 Property exists but property_exists() return false; »
Well I'm really confused. When i check if a property exists it returns false. if (property_exists($pais, 'id')) // false but when I debug it show...
(1) odpowiedzi
2017-03-24 21:03 Can I safely copy an existing laravel project and rename it locally for another project »
Sometimes my internet is slow/off and I don't have the ability to download via composer,so can I safely create a laravel project via the command com...
(1) odpowiedzi
2017-03-24 15:03 Edit email template in Laravel »
I need to edit template which used for emails in admin panel. Any Ideas? I think about several ways: Save email template in DB in the text field, e...
(1) odpowiedzi
2017-03-24 08:03 Lumen : use config constant file from other folder »
I have laravel and lumen running parallel on a server. and structure is like var/www/application/laravel var/www/application/lumen Now laravel app...
(1) odpowiedzi
2017-03-23 17:03 Upload muliple files via AngularJS to Laravel Controller »
I have Browse files button <input type="file" upload-files multiple /> Create Button <button class="btn btn-link" ng-click="store()"...
(2) odpowiedzi
2017-03-23 12:03 Nested stdClass doesn't return expected result »
public function quickbar() { $locales = config('app.locales'); $buttons = new \stdClass; foreach ($locales as $locale => $language) ...
(1) odpowiedzi
2017-03-23 04:03 Default values for Laravel 5.4+ blades new components? »
Laravel 5.4+ allows for components of the following structure: <div class="alert alert-{{ $type }}"> <div class="alert-title">{{ $tit...
(1) odpowiedzi
2017-03-22 22:03 Is there a way for Eloquent whereHas to only get() the matching results? »
I have the following function public function index(Request $request) { $results = Service::whereHas('conditions', function ($query) use ($requ...
(2) odpowiedzi
2017-03-22 17:03 embedding laravel route in js file »
I have a js file where I append/remove a navbar-item in the navbar depending upon the size of the screen. One of the problems I have run into is when ...
(1) odpowiedzi
2017-03-22 11:03 Task Scheduling Logs with OctoberCMS »
I'm using OctoberCMS based on Laravel. I have records in a database table vendor_log_. Each day I need Laravel to save a list of the newly created r...
(1) odpowiedzi
2017-03-21 16:03 Larave 5.4 required if validation issue »
I have 2 fields, accepts_usd and price_usd. For price usd i have a validation rule: 'price_usd'=>'integer|required_if:accepts_usd,1', And for a...
(3) odpowiedzi
2017-03-21 12:03 PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known »
I have an EC2 instance where Laravel 5 app is hosted. The DB is Amazon Aurora RDS. The app has been running fine for months. But this morning the API ...
(5) odpowiedzi
2017-03-21 10:03 Calling a view through id in laravel »
I have different files in views folder in navbar folder I have navbar-1 navbar-2 Now I am calling it dynamically by giving it an id like @include...
(2) odpowiedzi
2017-03-20 20:03 Laravel 5.4 + Ajax equals 401 Unauthenticated »
Whenever I try to assign a route from my api.php File I get a 401: Unauthenticated-Error. This is the route: Route::group(['prefix' => 'v1', 'mid...
(0) odpowiedzi
2017-03-20 17:03 Laravel dependency injection not working »
I'm using resource controllers in my laravel app and I'm trying to use dependancy injection but it's not working on a particular model and controller....
(2) odpowiedzi