Month: August 2023

  • Laravel Datatables – Inertia Svelte

    Additionally, enlarge the foundational service of the package such as datatable service provider in providers and alias inside the config/app.php file. Run vendor publish command further this step is optional: This controller for datatables This svelte page use datatables

  • Svelte external file load ready

  • How to Remove Public From URL in Laravel

    Solution – Using.htaccess file To create and update the .htaccess file in the Laravel. You can find .htaccess file in root directory. You must have mod_rewrite enable on your Apache server. The rewrite module is required to apply these settings. You also have enabled .htaccess in Apache virtual host for Laravel. Update the code into…

  • Laravel Voyager New menu added on sidebar

    copy vendor file vendor\tcg\voyager\resources\views to resources\views\vendor\voyager check file resources\views\vendor\voyager\dashboard\sidebar.blade.php

  • CRUD REST API passpord with Laravel API Resource

    Next, open app/Providers/AuthServiceProvider.php file and register the registerPolicies() method inside the boot() function, It will evoke the required routes. Register the PassportServiceProvider class in providers array inside the config/app.php file: Configure driver for the Passport, get inside the config/auth.php file and make the changes as shown below. Create Controller Class and Resource Class Controller code…