app_dev

app_dev

Member Since 4 Months Ago

Experience Points
2,250
Total
Experience

2,750 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
2
Lessons
Completed
Best Reply Awards
1
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
2,250 XP
Sep
22
5 days ago
Activity icon

Awarded Best Reply on From IOS Development To Backend

Understood. Then run;

Model, Factories, Migration, Seeds, Controllers, Middleware, Providers, Storage...

These subjects need to be explored for backend development.

Activity icon

Replied to Why Laravel Js Not Work With Compile Mix Js ?

Tihs warning : Resource interpreted as Stylesheet but transferred with MIME type application/x-javascript

Activity icon

Started a new Conversation Why Laravel Js Not Work With Compile Mix Js ?

Compiled Mix.js. Compiled js file will not work. Why ?

Sep
21
6 days ago
Activity icon

Awarded Best Reply on Mix Watch Error For Help

Hey! I found the solution

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Activity icon

Replied to Mix Watch Error For Help

Hey! I found the solution

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Activity icon

Started a new Conversation Mix Watch Error For Help

Mix run watch error;


Error from chokidar (/home/laravelpath): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/laravelpath'
Error from chokidar (/home/laravelpath): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/laravelpath'
Error from chokidar (/home/laravelpath): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/laravelpath'


Activity icon

Started a new Conversation Customizable Member System ?

I need a member system that I can customize. I can't understand Bootstrap auth logic. I really don't know if I'm safe. How can I develop a custom verification system for me.

Sep
19
1 week ago
Activity icon

Replied to How Forcing Https Without Breaking The Rules ?

@snapey Would a problem occur if I make this change ?

This;

# Handle Authorization Header

    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]


# Changed;

# Handle Authorization Header

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Activity icon

Started a new Conversation How Forcing Https Without Breaking The Rules ?

Default ".htaccess";


<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>


How do I force this for https? But the operation of Laravel should not be impaired.

Activity icon

Replied to From IOS Development To Backend

Understood. Then run;

Model, Factories, Migration, Seeds, Controllers, Middleware, Providers, Storage...

These subjects need to be explored for backend development.

Activity icon

Replied to From IOS Development To Backend

If I understood correctly, all you need is macbook, xcode and swift language.

Sep
18
1 week ago
Activity icon

Replied to Secure .env

@jlrdw I understand what you are trying to explain. There is a long i work up about server security. I never do as you mentioned.

Activity icon

Replied to Requested URL Was Not Found

A management panel is required today. Be sure! Everyone needs speed.

Activity icon

Replied to Requested URL Was Not Found

@snapey Everyone knows the general information. It is the beginning of work. But your www-data example is the detail. It takes experience. I'm not saying you are wrong. Just be sensitive. You are knowledgeable but you should always think about the other person.

Activity icon

Replied to Requested URL Was Not Found

No, I'm talking about the server management panel.

Activity icon

Replied to Requested URL Was Not Found

which panel do you use ?

Activity icon

Replied to Secure .env

@snapey "www-data" This configuration is not the same on every server. Do not give short answers this way. The new students are left hopeless. Your answers should be descriptive and informative.

Activity icon

Replied to Requested URL Was Not Found

Your server has errors in the network configuration.

First, you should check the name servers. Second step; You must provide a single ip address in A records for each name server.

Activity icon

Replied to Eager Loading Many To Many Collection JSON

JSON Objects must be an array. Then loop twice.

Activity icon

Replied to Requested URL Was Not Found

Give us details. are you working on a test server? Or are you on a streaming server?

Activity icon

Replied to Secure .env

Do not set ".env" permissions to 777! Correct value: 644.

Activity icon

Replied to Javascript Frameworks For Security Measures

Mate; I agree with you. You are quite right.

Activity icon

Started a new Conversation Javascript Frameworks For Security Measures

Can someone explain ? We all use javascript libraries. Vue, React and so on.

PHP codes are interpreted by the server and cannot be accessed from the outside. But the javascript code is easily change on browser.

In standard situations, people don't understand this. But all professions like us know this. It is very easy to exploit these vulnerabilities. For example, DOM manipulation is possible for React.

In my opinion; Do not perform server-side operations with javascript frameworks. They are PHP's job.

Sep
16
1 week ago
Activity icon

Started a new Conversation Laravel DB Column Type About Help.

What will be the type and length of the content column in the database table for the wysiwyg editor?


$table->longText('description');

Is it possible? If accepted, could you give some information? How long will longtext take ?

Activity icon

Started a new Conversation How Delete All Session Files With Session Value ?

If the administrator account deletes a member from the database, the deleted member must log off. The session value is the member's username. How do I delete the session files on the server that has the session value deleted member session.

Sep
15
1 week ago
Activity icon

Started a new Conversation Laravel How Errors Fail Select Error By Key With If Statement ?

If the value of an input is returned as blank; required captures this and searches back. However, I want to capture the blank input. How do I do this?

Up to date...


	//This run.
        if ($validator->fails()) {
            return back()
                ->withErrors($validator);
        } else {
            dd($request->all());
        }

	//But
        if ($validator->fails()) {
	
	//if(fails() == 'like') how do ?

	//else return
            return back()
                ->withErrors($validator);
        } else {
            dd($request->all());
        }


Sep
14
1 week ago
Activity icon

Started a new Conversation Laravel With Error

Replying with error without validator.

//Ex.

            return back()
                ->withInput($request->input())
                ->withErrors('my-error-name', 'my-error-content');

Can I do something like this ?

Activity icon

Started a new Conversation How Set Laravel Hash Password Column Type ?

How column type and length password for Laravel hash:make. ?

Char, Varchar, Text ? And Length ?

Sep
08
2 weeks ago
Activity icon

Started a new Conversation Where I Find E-commerce Script ?

I am looking for a professional e-commerce script developed with Laravel. Do you know a script that functions well ? It would be paid.

Sep
05
3 weeks ago
Activity icon

Replied to How Do I Reach Expert Laravel Developers ?

A minimum of 5 experts is required, a maximum of 8. It will be coded in an estimated 30 days.

Activity icon

Started a new Conversation How Do I Reach Expert Laravel Developers ?

There is a big project. For this I need expert Laravel developers. They should work on the same code. Individual contacts for front end and back end. Where can I find these experts?

Sep
03
3 weeks ago
Activity icon

Started a new Conversation How Use Javascript For Img Src Base64 Encode ?

Hello there!

I use img webp format. But Apple on devices this format not supported.

I'm trying to develop a solution with javascript. If the device is an ios device, I want to convert the picture src tag to base64. Can you help me?


var iOS = /^iP/.test(navigator.platform);

if(iOS == true){
  $('img').each(function(index,element) {

    //element.src = how base64 ?
    
  });
  
}

Jul
15
2 months ago
Activity icon

Replied to Laravel Try Catch For PDO Transaction Error.

Yes, I passed the link to a variable. I placed DB::beginTransaction(); outside the try block. I only empty the connection variable after Commit. And it returns true or false with return.

Activity icon

Started a new Conversation Laravel Try Catch For PDO Transaction Error.

I have such a block. The return of this; Fatal error: Uncaught PDOException: There is no active transaction

Why does not work ? Do you know this ?

<?php
//$this->connect(); The method of my class. Returns the PDO link.

try {
	$this->connect()->beginTransaction();
	//do stuff
	$this->connect()->commit();
	return true;
} catch (PDOException $e) {
	$this->connect()->rollBack();
	
	return false;
}

Jul
06
2 months ago
Activity icon

Replied to How Laravel In PHP Imagepng Convert.

@snapey best use google recaptcha ...

Jul
05
2 months ago
Activity icon

Started a new Conversation How Laravel In PHP Imagepng Convert.

I am developing customized security code. It works on browsers on the computer but does not appear on iphone and android mobile devices. Is there a way to solve this problem?

<?php

//Create a PHP imagepng

session_start();
$scode= substr(md5(rand(0,999999999999)), -6); 
if($scode){
$_SESSION["secode"] = $scode;
$width = 100;
$height = 30;
$img= ImageCreate($width, $height);
$background = ImageColorAllocate($img, 255, 255, 255); 
$rand = ImageColorAllocate($img, rand(0,255), rand(0,255), rand(0,255));
ImageFill($img, 0, 0, $rand);
ImageString($img, 5, 24, 7, $_SESSION["secode"], $background );
ImageLine($img, 0, 19, 0, 19, $arka);
header("Content,type:image/png");
ImagePng($img);
ImageDestroy($img);
}
?>

<!-- --------- HTML ---------------- -->
<img class="d-block mb-2 mx-auto" src="securitycode.php" />
<!-- It works on browsers on the computer but does not appear on iphone and android mobile devices. -->

Jul
03
2 months ago
Activity icon

Replied to Is There A User System Package ?

@martinbean The algorithm starts as follows; Identifies users who are not logged in. It follows. If signed in, it becomes a verified user. I want to record all your moves.

Activity icon

Started a new Conversation Is There A User System Package ?

I am looking for a user package that I can customize for Laravel. I am using version 5.8. I am developing an e-commerce website. Can I find a package suitable for the MVC architecture?

Activity icon

Awarded Best Reply on Server Terminal "NPM Run Watch" Not Work.

package.json file on change;

"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
Activity icon

Replied to Server Terminal "NPM Run Watch" Not Work.

package.json file on change;

"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
Activity icon

Replied to [5.4] Npm Run Watch Not Working

@mariordev Very good. İt is best answer rep. Very thanks.

Activity icon

Started a new Conversation Server Terminal "NPM Run Watch" Not Work.

My laravel version 5.8.

In previous versions, the "run-watch" command on the terminal screen was tracking for the mix. But that doesn't work anymore. Where's the problem? It only compiles once.

Activity icon

Replied to Laravel Webpack MİX Js File Ex Lines

@michaloravec thanks

//Via...
npm run watch

Oh good; production after the right solution;

//Via...
npm run production
Activity icon

Started a new Conversation Laravel Webpack MİX Js File Ex Lines

Automatic version added for mix. But there are explanation lines in the mix's js file. I don't want these description lines to be displayed. Where are these lines of description drawn? JS Here are those lines;

/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "/";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ({

/***/ "./resources/js/script.js":
/*!********************************!*\
  !*** ./resources/js/script.js ***!
  \********************************/
/*! no static exports found */
/***/ (function(module, exports) {



/***/ }),

/***/ "./resources/sass/style.sass":
/*!***********************************!*\
  !*** ./resources/sass/style.sass ***!
  \***********************************/
/*! no static exports found */
Jul
02
2 months ago
Activity icon

Started a new Conversation How Make New Session ?

Is it safe php sessions for manual verification system ?

Activity icon

Started a new Conversation How Customize Auth ?

How Laravel is custom auth (backend) ? Where member infos ? İs it session ? What use for login. ?

My to do; I create a new custom model and custom controller. New custom migration.

Now, Do what ?

Activity icon

Started a new Conversation How Return View A Model ?

This is return code. But, how return view a model ?

Route::get('admin', function () {
    return view('main.design');
});
May
04
4 months ago
Activity icon

Started a new Conversation Where Do I Find Free Templates?

I'm looking for free templates for Laravel and bootstrap. Can you advice?