Latest Post


How to create a text file for JSON and file download in Laravel 5?

If you want create your own text file, html file, css file, php file, json file etc in Laravel. then we do not need to use any PHP library or Class because Laravel Framwork Provide its own "File" Facade. File Class through you can create your own html file, txt file, php file etc as you want. File Facade Class also provide several function like you can create file, remove file, update file etc. now i am giving you example of how to create json file in Laravel. you also want to download file that you created now, i mean you want to give download file, then you can also give download that file .....

By Hardik Savani | January 6, 2016 | | 27422 Viewer | Category : Laravel
READ MORE


npm thomaswelton/laravel-gravatar Module Chart COUNT() Tracking Select Query Paypal Payment Gateway Thumbnails filesize() throttle filter_var oauth Calculate clipboard.js Connection characters SUBSTRING_INDEX() Bootstrap Star Rating Plugin Listener Bootstrap Notify Plugin execute query Highlight JS JWT file_exists() X-editable Plugin popupMultiSelect plugin Eloquent-Sluggable Package Sub-Domain DATEDIFF() ID Paytm parse jquery.lazyload.js JS MassAssignmentException Codeigniter max_file_uploads Executed Master Lightbox Express strpos Join Socialite phpmyadmin virtual host google recaptcha code Fullcalendar JS json() PHP Sublime text 2 helper Carbon Enable Artisan Sort SEO Configuration Scout Package Manual Origin Value roumen/sitemap Search Commit Elasticsearch public_path Localization Linux Linkedin API Email datatables Dropbox API refspec DB Statement colorpicker File RSS Feed Example CRUD Laravel Cashier Vue.JS Zip Recursive filter 500 error page Database Number away() Script Bootstrap-lightbox Plugin Server dompdf Image Gallery bootstrap-growl Command Inserted Id jQuery Undefined Ubuntu 14.04 Trans Helper Prompt modal REST Flash Message Branch softDeletes Location Repository Pattern Laravel 5.5 Authentication Packages Setup timestamps Delete Specific Jquery Modal Folder Magento 2 DB::raw() Object to Array Interface CASE_LOWER Contact US Form Laravel 5.3 Letter Kyslik/column-sortable package AngularJS TrustAsHTML Filter Mysql Concat Notification Numeric marker Gravatar Image Path Typeahead JS Paging MySQL Subquery Page Bootstrap show password Plugin WHERE Query hasTable Sublime ServiceProvider PHP artisan Draggable Frontside Validation Google Map php artisan serve array_combine String