I am testing how to make files via commandline.
public function handle()
{
Storage::disk('local')->put('file.txt', '<?php echo 'test';echo 'test1';');
}
File file.txt:
I want to make, so with tabs, linebreaks, space , etc:
<?php
echo 'test';
echo 'test1';
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire