towhid

towhid

Bangladesh

Member Since 2 Years Ago

Experience Points 6,450
Experience
Level
Lessons Completed 13
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

10 Jan
6 days ago

towhid started a new conversation How To Count Total Price In Any Table

i have one table , i have one attribute the name is receive_amount , i just want to show total of receive_amount

09 Jan
1 week ago

towhid started a new conversation What Kind Of Procedure If I Want To Develop - Sales, Profit, Report ?

what kind of procedure if i want to develop - sales, profit, report by country report by agent report by any kind of situation, what kind or procedure follow the code pattern or laravel features..

27 Dec
2 weeks ago

towhid left a reply on Want To Create PDF File And Send Email In My Laravel 5.3

my laravel version is now 5.6 and i am add barryvdh/laravel-dompdf , now i am trying to create pdf and send email this pdf file -

Any suggestion please ..inform me .. thank you .

26 Dec
3 weeks ago

towhid left a reply on Upgrade Time When I Reach 5.3 To 5.6 Show One Error

finally i solve , but i don't know is it permanent solution or not .

i just delete some - code

        "post-install-cmd": [
            "Illuminate\Foundation\ComposerScripts::postInstall",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "Illuminate\Foundation\ComposerScripts::postUpdate",
            "php artisan optimize"
        ]

towhid started a new conversation Upgrade Time When I Reach 5.3 To 5.6 Show One Error

when - i was upgrade 5.3 to 5.6 step by step 5.3> 5.4> 5.5> 5.6 then error show

E:\xampp\htdocs\vivid_priyo>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 11 updates, 2 removals
  - Removing symfony/polyfill-php70 (v1.10.0)
  - Removing mtdowling/cron-expression (v1.2.1)
  - Downgrading nesbot/carbon (1.36.1 => 1.25.0): Downloading (100%)
  - Installing symfony/polyfill-php72 (v1.10.0): Loading from cache
  - Updating symfony/var-dumper (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/routing (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/process (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/http-foundation (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/debug (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/http-kernel (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/finder (v3.4.20 => v4.2.1): Loading from cache
  - Updating symfony/console (v3.4.20 => v4.2.1): Loading from cache
  - Installing dragonmantank/cron-expression (v2.2.0): Loading from cache
  - Updating laravel/framework (v5.5.42 => v5.6.39): Downloading (100%)
  - Updating laravelcollective/html (v5.5.4 => v5.6.10): Downloading (100%)
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize


  Command "optimize" is not defined.


Script php artisan optimize handling the post-update-cmd event returned with error code 1

i dont know is it need to fix or avoide this thing ?

please help me .. thank you

towhid left a reply on Can I Upgrade Laravel 5.3 To 5.6 Direct

@SERGIU17 - Yes i already started and 5.6.30 going to update --- thank you ... still is OK . but one question if i move 5.7 its file structure and others functionality change and my site is breaking down ?

@ser

towhid started a new conversation Can I Upgrade Laravel 5.3 To 5.6 Direct

please guide me .. for details .

towhid started a new conversation Want To Create PDF File And Send Email In My Laravel 5.3

when i am trying to use

composer require barryvdh/laravel-dompdf

this error show in my CLI .window

E:\xampp\htdocs\vivid_priyo>composer require barryvdh/laravel-dompdf
Using version ^0.8.3 for barryvdh/laravel-dompdf
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for barryvdh/laravel-dompdf ^0.8.3 -> satisfiable by barryvdh/laravel-dompdf[v0.8.3].
    - Conclusion: remove laravel/framework v5.3.26
    - Conclusion: don't install laravel/framework v5.3.26
    - barryvdh/laravel-dompdf v0.8.3 requires illuminate/support 5.5.x|5.6.x|5.7.x -> satisfiable by illuminate/support[5.7.17, 5.7.18, 5.7.19, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
    - don't install illuminate/support v5.5.0|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.16|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.17|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.2|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.28|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.33|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.34|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.35|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.36|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.37|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.39|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.40|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.41|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.43|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.5.44|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.0|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.1|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.10|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.11|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.12|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.13|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.14|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.15|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.16|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.17|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.19|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.2|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.20|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.21|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.22|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.23|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.24|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.25|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.26|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.27|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.28|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.29|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.3|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.30|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.31|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.32|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.33|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.34|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.35|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.36|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.37|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.38|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.39|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.4|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.5|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.6|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.7|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.8|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.6.9|don't install laravel/framework v5.3.26
    - don't install illuminate/support 5.7.17|don't install laravel/framework v5.3.26
    - don't install illuminate/support 5.7.18|don't install laravel/framework v5.3.26
    - don't install illuminate/support 5.7.19|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.0|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.1|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.10|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.11|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.15|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.2|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.3|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.4|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.5|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.6|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.7|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.8|don't install laravel/framework v5.3.26
    - don't install illuminate/support v5.7.9|don't install laravel/framework v5.3.26
    - Installation request for laravel/framework (locked at v5.3.26, required as 5.3.*) -> satisfiable by laravel/framework[v5.3.26].


Installation failed, reverting ./composer.json to its original content.

##please anyone help me for my setuation my laravel version "laravel/framework": "5.3.*",

thank you

23 Dec
3 weeks ago

towhid left a reply on Why My Project Not Updated After Edit Some Code ... Its Work Same As Like Before

its simply fault , i am trying wrong folder project code ..

01 Dec
1 month ago

towhid left a reply on Why My Project Not Updated After Edit Some Code ... Its Work Same As Like Before

@sumbria its not work , i find some article about this matter , they said its problem about VSCODE --

towhid started a new conversation Why My Project Not Updated After Edit Some Code ... Its Work Same As Like Before

why my project not updated after edit some code ... its work same as like before

towhid started a new conversation SQLSTATE[HY000] [1045] Access Denied For User 'hkstravels_user'@'localhost' (using Password: YES) (SQL: Select * From `tour_country`)

this is my .env code for MySQL connection info

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=hk
DB_USERNAME=root
DB_PASSWORD=

i don't understand why this code error any one know this issue please inform me . thank you

04 Nov
2 months ago

towhid left a reply on What Is The Difference ?

@theharisshah thanks for your reply . i found my solution -

the solving realize is - if i want to direct push the database default value then use without input form - btw - @Cronix am i right or wrong- please declare thank you

$name = $request->input('country', 'Bangladesh');

towhid left a reply on How To Transfer Local Server To Live Server Site ?

yes i understand the whole process and the structure now -

if i move all public folder files move root folder and others files and folder move another folder in root folder -- is it right process or need to change any folder directory ?

thank you

31 Oct
2 months ago

towhid left a reply on What Is The Difference Between An Image And A Watermark Image In Laravel ?? How To Use In Project ? Whats The Output ?

yes i checked but do you have any laravel process source dynamically ?

?

towhid started a new conversation What Is The Difference Between An Image And A Watermark Image In Laravel ?? How To Use In Project ? Whats The Output ?

i know how to image upload , but some one ask me do i know how to add water mark image in laravel ?

please answer me with practical code - thank you

towhid left a reply on How To Transfer Local Server To Live Server Site ?

@jlrdw yes i undersatnd need to move others - Folder - without - public_html thank you

30 Oct
2 months ago

towhid left a reply on How To Transfer Local Server To Live Server Site ?

its show my .env file !! why this show what i will do for hide this file ? i never - see this problem - even my last project in live server but .env is not work its show this error -!!

Sorry, the page you are looking for could not be found.

please tell more about this thing. thank you @Cronix and @Snapey

towhid left a reply on How To Transfer Local Server To Live Server Site ?

@snapey sorry if i did any wrong here , i don't understand , could you please point me which thing is wrong . then i will delete my comment .

thank you

towhid left a reply on Is It Possible To Check Login Information By 3rd Party Api Database User Information ?

@Sirik the answer is - when i am login check from third part APi link then need to carry the token number o any thing carry the session , when need session needy , after logicaly check we can any time use this $variable .

thank you

towhid left a reply on How To Transfer Local Server To Live Server Site ?

nothing is serious for local to live server - if you want to check then you use xampp and before project start inex.php and htaccess file move public folder to project root folder. and then open your index.php file and edit this two line

require __DIR__ . '/vendor/autoload.php';
to 
require __DIR__ . '/../vendor/autoload.php';

and second one - is

$app = require_once __DIR__ . '/bootstrap/app.php'
to 
$app = require_once __DIR__ . '/bootstrap/app.php';

thats it

towhid left a reply on How To Deployment Laravel Appplication In Shared Hosting Without Shell And Composer Any Command Apply ..

The asking questions is how to command call without shell then i found it like if we want to use the migrate command then you can write down in your routes

 Route::get('/migrate', function () {
     $exitCode = \Artisan::call('migrate');
 });

towhid left a reply on How To Data Save In Session Time , Globally ?

the answer is -- if i need to carry the session then every single session have to save - like ``` $variableName = session('token');

the when we have to need then first check the session like - if (!empty($variableName))
{
//
}else{
//
}
``
thanks  all of you .. 

towhid left a reply on Scenario : In My Blade As A News Paper Category , First Item Information Show Big View But Other S Item Ar Small Show , How Can I View Data In Blade From Database? What Kind Of Query ?need To Write

@cronix i found my answer actually i didn't ask you accurate question because of those moment i don't know many Eloquent Query -

my query is first() , latest () and selected id wise data show -

like one newspaper page - show some - image - last five , and in below show data after five :)

towhid left a reply on What Is The Difference ?

@Cronix do you an to see my code ? fomr request class and form view ?

towhid left a reply on What Is Difference ? This Method Call

first one : is static function ? i think so -

  • i will study about laravel helper class list

towhid left a reply on I Cannot Delete My Data -

thanks :) and - yes you are right , it was my fault , and in this time i make sure two process of delete - #1 only button - want to use then need to use in route :

Route::get('delete-data/{id}', '[email protected]_data');

in view :

<a href="{{url('delete-data/'.$data->id)}}" type="button" class="btn btn-danger">Delete</a>

#2 - want to use form method then need to use in route :

Route::delete('delete-data/{id}', '[email protected]_data');

in view :

<form action="{{ url('delete-data/'.$data->id) }}" method="POST" >
                    {{ csrf_field() }}
                    <input type="hidden" name="_method" value="DELETE" />
                    <button type="submit"class="btn btn-danger">DELETE</button>
                </form>

Thanks again for help @Cronix please altime guide me you know i am still new

towhid left a reply on I Cannot Delete My Data -

now this is my View

<form action="{{ url('deleteData/'.$data->id) }}" method="POST" >
                    {{ csrf_field() }}
                    <input type="hidden" name="_method" value="DELETE" />
                    <button type="submit">DELETE</button>
                </form>

this is my route

Route::delete('delete-data/{id}', '[email protected]delete_data');

and still this is my Controller

public function delete_data($id) {
        $info = Home::find($id);
        $info->delete();
        return redirect('view-data');
    }

but show same error is in left side

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException
No message

and the right side show

 protected function methodNotAllowed(array $others)
    {
        throw new MethodNotAllowedHttpException($others);
    }
 
    /**
     * Get routes from the collection by method.
     *
     * @param  string|null  $method
     * @return array
     */
    public function get($method = null)
    {
        return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
    }

towhid left a reply on I Cannot Delete My Data -

@cronix yes i know - but its not work - when i am trying to use url not work --

Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException
No message

towhid left a reply on What Is The Difference ?

yes i understand you mean its default data input directly but - if we have form request then its not work - as like my project - :( @cronix

towhid started a new conversation I Cannot Delete My Data -

this is my routes

Route::post('delete-data/{id}', '[email protected]_data');

This is my controller

    public function delete_data($id) {
        $info = Home::find($id);
        $info->delete();
        return redirect('view-data');
    }
{{ csrf_field() }} DELETE ```

any process whcih one is perfect for simply delete -

towhid left a reply on What Is The Difference ?

@RyanSlicker you mean if i use two parameter - but - my table attribute name not change - s how the work done ?

towhid started a new conversation What Is Difference ? This Method Call

{{URL::to('view-data')}}
 and 
{{URL('view-data')}}

towhid left a reply on What Is The Difference ?

@RyanSlicker i will confirm you after the login check -- your instruction -- thank you

towhid left a reply on What Is The Difference ?

@theharisshah hello ! i check it laravel documentation but i don't understand how to use

$name = $request->input('name', 'Sally');   //  what you mean second argument ? and what i will do with second argument ?

towhid left a reply on How To Run Laravel Project Locally Without Using "php Aritsan Serve" Command?

if you want to server run with out php artisan then you run your command promt and simple - located your project folder . Example : C:\xampp\htdocs\your project folder name and then type this code

php -S localhost:8888 -t public

```

towhid started a new conversation What Is The Difference ?

$info->name = $request->input('name');

and 

$info->name = $request->name;

11 Oct
3 months ago

towhid left a reply on Database Design With Normalized Related Guideline For Web Application .

@D9705996 Thank you Sir , i understand your suggestion . i will question be specific next time - again but must be follow your last instruction .. thanks a lot ...

towhid left a reply on Database Design With Normalized Related Guideline For Web Application .

@D9705996 thanks for your guide line , i will follow your instruction and then i will share my concept again - hope so we can clear more about my thinking for what kind of database use for this application .

Thank you

towhid started a new conversation Database Design With Normalized Related Guideline For Web Application .

i want to learn from basic database table create for any kind of web application like school management , so what kind of issue need to remember any database table create ?

23 Jul
5 months ago

towhid started a new conversation How To Redirect My Previous Page After Login Which Page User Try To Access .please Tell Me Rules Of Declare Redirect Code

if i use redirect()->back();

after login redirect my login page

16 Jul
6 months ago

towhid left a reply on Scenario : In My Blade As A News Paper Category , First Item Information Show Big View But Other S Item Ar Small Show , How Can I View Data In Blade From Database? What Kind Of Query ?need To Write

@Tray2 there are not accurate my questions answer , could you please read my query again , if you can accurate please help me . thank you